Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit /etc/make.conf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neo@X-factor
n00b
n00b


Joined: 14 Jul 2002
Posts: 8

PostPosted: Mon Aug 12, 2002 2:44 pm    Post subject: Probleme mit /etc/make.conf Reply with quote

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
View user's profile Send private message
citizen428
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 317
Location: Vienna, Austria

PostPosted: Mon Aug 12, 2002 4:48 pm    Post subject: Re: Probleme mit /etc/make.conf Reply with quote

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
View user's profile Send private message
Neo@X-factor
n00b
n00b


Joined: 14 Jul 2002
Posts: 8

PostPosted: Tue Aug 13, 2002 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
SNo0py
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 270
Location: Vienna, Austria

PostPosted: Tue Aug 13, 2002 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
citizen428
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 317
Location: Vienna, Austria

PostPosted: Tue Aug 13, 2002 12:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
SNo0py
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 270
Location: Vienna, Austria

PostPosted: Tue Aug 13, 2002 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum