Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/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
jew.de
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 226
Location: Frankfurt/Main

PostPosted: Fri Sep 27, 2002 3:35 pm    Post subject: /etc/make.conf Reply with quote

Hi,
mein System habe ich mit Hilfe von Stage3 1.4_rc1 aufgebaut.
Ich habe mir jetzt mal die Datei /etc/make.conf angeschaut, und habe die CFLAG auf CFLAGS="-mcpu=duron -O3" gesetzt.
Wenn ich jetzt ein Programm kompelieren will, bricht er ab und sagt:

checking whether the C compiler (gcc -mcpu=duron -O3 ) works... no

Wie kann ich den gcc (3.2) optimieren, so dass er läuft?

Wenn ich es denn geschaft haben sollte, kann man dann alles noch einmal mit den geänderten Werten kompelieren, auch das System an sich? Oder den gcc an sich?

Danke

jew.de
Back to top
View user's profile Send private message
DocSilly
n00b
n00b


Joined: 23 Jul 2002
Posts: 13
Location: Germany

PostPosted: Fri Sep 27, 2002 4:45 pm    Post subject: Reply with quote

Welcher stage3 tarball ist es denn ?
Kannste auch mal eventuell deine kompletten zeilen fuer CHOST, CFLAGS und CXXFLAGS deiner make.conf hier posten?
Back to top
View user's profile Send private message
jew.de
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 226
Location: Frankfurt/Main

PostPosted: Fri Sep 27, 2002 4:49 pm    Post subject: Reply with quote

DocSilly wrote:
Welcher stage3 tarball ist es denn ?
Kannste auch mal eventuell deine kompletten zeilen fuer CHOST, CFLAGS und CXXFLAGS deiner make.conf hier posten?


Klar:

/etc/make.conf:
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=duron -O3 -pipe"
CXXFLAGS="-mcpu=duron -O3 -pipe"

Ich benutze das stage3-i686_athlon-1.4_rc1.tar.bz2 Tarball.

jew.de
Back to top
View user's profile Send private message
DocSilly
n00b
n00b


Joined: 23 Jul 2002
Posts: 13
Location: Germany

PostPosted: Fri Sep 27, 2002 7:19 pm    Post subject: Reply with quote

uhm, ich bin nicht der Experte, aber wenn du CFLAGS="-mcpu=duron -O3 -pipe" nutzen willst dann darfst nich den stage3-athlon tarball nehmen, sondern du musst von anfang an mit dem stage1-x86-1.4_rc1-20020908-1208.tar.bz2 arbeiten. Der stage3 den du nutzt wurde komplett mit CFLAGS='-march=athlon -mcpu=athlon -O3 -pipe' kompiliert, was zu deinen problemen fuehrt.
Back to top
View user's profile Send private message
jew.de
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 226
Location: Frankfurt/Main

PostPosted: Fri Sep 27, 2002 7:26 pm    Post subject: Reply with quote

ok, wenn ich die Option athlon nehme, klapps. Vorher stand es auf i686.
Kann ich denn jetzt alles, was schon installiert ist, nochmal mit diesen Optionen kompelieren lassen? Wenn ich mir überlege, dass das System so sehr lange laufen soll, dann will ich es auch richtig gemacht habe :-)

jew.de
Back to top
View user's profile Send private message
DocSilly
n00b
n00b


Joined: 23 Jul 2002
Posts: 13
Location: Germany

PostPosted: Fri Sep 27, 2002 7:55 pm    Post subject: Reply with quote

hmmm, ich sehe 2 optionen.
- du bleibst beim -mcpu=athlon, was kaum unterschiede macht zu -mcpu=duron
- du faengst nochmal von vorne an mit stage1 tarball und nutzt von anfang an -mcpu=duron

Da ich nicht weiss wieviel Zeit du schon investiert hast (wieviel du schon emerged hast) kann ich leider nichts direkt empfehlen.
Back to top
View user's profile Send private message
jew.de
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 226
Location: Frankfurt/Main

PostPosted: Fri Sep 27, 2002 7:59 pm    Post subject: Reply with quote

DocSilly wrote:

- du bleibst beim -mcpu=athlon, was kaum unterschiede macht zu -mcpu=duron
- du faengst nochmal von vorne an mit stage1 tarball und nutzt von anfang an -mcpu=duron


ok, den Unterschied zwischen duron und athlon wird wohl nicht sooo groß sein. Aber bei der Installation war der flag auf i686 gesetzt. ICH habe ihn erst auf athlon gesetzt.

Das einzige, was ich erreichen will, ist dass das System komplett noch einmal durch-kompeliert wird.

jew.de
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Fri Sep 27, 2002 8:41 pm    Post subject: Reply with quote

Der Duron ist ein "thunderbird" mit weniger cache (grob gesagt ;)). Der "athlon" ist nur der Athlon der ersten Generation. Die "richtige" Architektur fuer den GCC bei einem Duron waere als "athlon-tbird". Ich selber habe hier auch einen Duron gehabt, auf dem ich mit obiger Archtitektur kompiliert habe (und das schoene daran ist, dass ich seit letzter Woche den alten 600er Duron durch einen TBird 1400 ersetzt habe [geht ja dank AMDs Sockelpolitik ;)] und mein Gentoo nicht einmal neu optimieren musste. :D)
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