On Sunday 04 December 2005 09:35, Dale wrote: > Hi, > > I have been up and running a while and am running stable but this is > Gentoo. ;) I found a script that tells you what your CFLAGS are > suposed to be and it is different from what I am using. This is what I > > am using now, from make.conf of course: > >CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" > > This is what the script said: > >-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow > > I assume I would have to add the-O3 to that though. > > I have a AMD XP 2500+ and 1GB of ram. I like it to run fast even if it > takes longer to compile. I think that is where the -O3 comes in but be > gentle if I am wrong. For those who may read this and not tell the > difference, that is a minus sign, the letter O and the number three. >
O3 makes binaries much, much bigger. Bigger binaries need more cache&load time. So bigger binaries are slower a lot of time. -fomit-frame-pointer is fine, fmpgmath=sse may or may not make your apps slower or faster. msse, mmmx, m3dnow are (mostly) harmless. -- gentoo-user@gentoo.org mailing list