[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] CFLAGS and USE Question
Hi all,
Im doing some compiling on my laptop, which is a P4M 2.4 processor.
I've found stacks of recommendations on various sites for the CFLAGS
setting, which is all beginning to get rather confusing.
What I've come up with now is:
-march=pentium4 -O2 -fomit-frame-pointer -mmmx -msse -mfpmath=sse
Is there anybody who knows enough about it to see if the above is reasonable
or even good for the CPU I have ?
There is a large amount of compiling to be done, but the compile time is not
an issue so long as the finished code is well optimised for the CPU.
Is there anything you would add to, or remove from, the line above ?
The first one I tried is:
-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-function
s=4 -mmmx -msse -msse2 -mfpmath=sse -fprefetch-loop-arrays
But this seemed to barf a lot of the time.
The USE setting is currently :
acpi alsa avi cdr cups dvd encoder gnome gphoto2 gpm gtk gtk2 java jpeg kde
mmx mozilla mpeg png qt sse ssl tcltk tetex truetype usb X xosd xml xml2
xmms xv zlib x86
I *think* this one is quite reasonable, as I want to build it up to a fully
featured system with a good all round spread of applications.
Any help much appreciated!
(This is for a new Gentoo install BTW).
Steve.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.