Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc and amd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dArkMaGE
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 152

PostPosted: Sat Aug 17, 2002 10:44 pm    Post subject: gcc and amd Reply with quote

please forgive my ignorance but ive heard that the new (3.x) series of gcc has improved optimizations for various athlon processors. I have a box laying around with a duron processor and i was wondering what CHOST setting will produce the best optimizations. (i.e. athlon, i686, i586...) since i dont think there is a specific CHOST=duron-pc-linux-gnu...
also, are there any other similar settings to watch out for when installing gentoo on amd cuz ive only worked with intel until now.
--thanx
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Aug 17, 2002 11:36 pm    Post subject: Reply with quote

There's lots of active discussion you might be interested in going on over in Tuxisuau's GCC 3.2 thread and AutoBot's CFLAGS Central.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
wilbertnl
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 89
Location: Tulsa, OK, USA

PostPosted: Sun Aug 18, 2002 12:56 am    Post subject: Re: gcc and amd Reply with quote

dArkMaGE wrote:
Please forgive my ignorance but I've heard that the new (3.x) series of gcc has improved optimizations for various athlon processors. I have a box laying around with a duron processor and I was wondering what CHOST setting will produce the best optimizations. (i.e. athlon, i686, i586...) since i dont think there is a specific CHOST=duron-pc-linux-gnu...
Also, are there any other similar settings to look for when installing gentoo on AMD cuz I've only worked with Intel until now.
--thanx


CHOST isn't doing much, you will have an i686-pc-linux-gnu compiler set.
I also have a Duron/800 MHz and I use the following CFLAGS:
Code:
-pipe -O2 -fomit-frame-buffer -fforce-addr -march-athlon-tbird

I have the experience that -O3 is breaking binaries, that's why I'm more modest with the -O flag.
_________________
Wilbert van Bakel
Strive for excellence, not perfection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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