View previous topic :: View next topic |
Author |
Message |
dArkMaGE Apprentice
Joined: 20 Apr 2002 Posts: 152
|
Posted: Sat Aug 17, 2002 10:44 pm Post subject: gcc and amd |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Aug 17, 2002 11:36 pm Post subject: |
|
|
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 |
|
|
wilbertnl Tux's lil' helper
Joined: 01 Jul 2002 Posts: 89 Location: Tulsa, OK, USA
|
Posted: Sun Aug 18, 2002 12:56 am Post subject: Re: gcc and amd |
|
|
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 |
|
|
|
|
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
|
|