View previous topic :: View next topic |
Author |
Message |
Neo@X-factor n00b
Joined: 14 Jul 2002 Posts: 8
|
Posted: Mon Aug 12, 2002 2:44 pm Post subject: Probleme mit /etc/make.conf |
|
|
Hallo!
Also ich habe einen Duron 600 und dies ist meine make.conf[Ausschnitt]:
Code: |
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -m3dnow -mmmx"
CXXFLAGS="-O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -m3dnow -mmmx"
|
Doch wenn ich nun z.b.: emerge lynx mache kommt das:
Code: |
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -m3dnow -mmmx -DANSI_VARARGS ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
|
Was stimmt mit den Einstellungen in der make.conf nicht?
Danke..
PS: Verwende den aktuellsten gcc 2.95.3 für Gentoo 1.2 |
|
Back to top |
|
|
citizen428 Retired Dev
Joined: 10 Jun 2002 Posts: 317 Location: Vienna, Austria
|
Posted: Mon Aug 12, 2002 4:48 pm Post subject: Re: Probleme mit /etc/make.conf |
|
|
Schonmal mit dieser Reihenfolge versucht?
Code: |
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe -funroll-loops -fomit-frame-pointer -m3dnow -mmmx"
CXXFLAGS="-mcpu=i686 -O3 -pipe -funroll-loops -fomit-frame-pointer -m3dnow -mmmx"
|
Vielleicht ist das unwichtig, aber ich hab mcpu respektive march immer nur vor den anderen Optionen gesehen. Und 3dnow sowie mmx hab ich in der USE-Variablen, nicht bei den Compilerflags, wo ich sie bei "man gcc" auch nicht finde. |
|
Back to top |
|
|
Neo@X-factor n00b
Joined: 14 Jul 2002 Posts: 8
|
Posted: Tue Aug 13, 2002 11:31 am Post subject: |
|
|
Danke... das mmmx und m3dnow geht erst ab einer 3.X Version des gcc.
Hab nun das:
CFLAGS="-O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -fexpensive-optimizations"
CXXFLAGS="-O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -fexpensive-optimizations"
und es ist deutlich schneller geworden |
|
Back to top |
|
|
SNo0py Apprentice
Joined: 12 Jul 2002 Posts: 270 Location: Vienna, Austria
|
Posted: Tue Aug 13, 2002 12:23 pm Post subject: |
|
|
Neo@X-factor wrote: |
CFLAGS="-O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -fexpensive-optimizations"
CXXFLAGS="-O3 -funroll-loops -mcpu=i686 -pipe -fomit-frame-pointer -fexpensive-optimizations"
|
Was machen denn -fomit-frame-pointer und -fexpensive-optimizations bzw. woher kann ich mir diese Informationen holen? Sind diese Optionen sinnvoll?
thx _________________ Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
Back to top |
|
|
citizen428 Retired Dev
Joined: 10 Jun 2002 Posts: 317 Location: Vienna, Austria
|
Posted: Tue Aug 13, 2002 12:35 pm Post subject: |
|
|
SNo0py wrote: |
woher kann ich mir diese Informationen holen? Sind diese Optionen sinnvoll?
|
Lies die Manualpage von gcc (man gcc) und entscheide dann ob du glaubst daß diese Sachen für dich Sinn machen. |
|
Back to top |
|
|
SNo0py Apprentice
Joined: 12 Jul 2002 Posts: 270 Location: Vienna, Austria
|
Posted: Tue Aug 13, 2002 2:36 pm Post subject: |
|
|
Danke für die Info!
M.
PS: warum denk ich mir im Nachhinein immer, "Die Frage war irgendie sinnlos.."??? _________________ Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
Back to top |
|
|
|