Richard Watson wrote:
I've just got a new laptop I'm installing Gentoo on and was wondering if
anyone could advise on the CFLAG setting I'm using. The CPU is a
Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
CFLAGS="-02 -mcpu=pentium -pipe"
With a 2.13Ghz pentium-m, I am using:
CFLAGS="-march=pentium-m -Os -fomit-frame-pointer -pipe"
I recommend using either -Os or -O3 with the pentium-m. In my
experience, -Os and -O3 provide slightly better overall performance than
-O2, although I should mention a few things will probably run slower.
As far as mmx, sse, and the like, I'd say enable those through USE flags
for those packages that support them.
Also, be sure you are using the latest version (3.4.4) of gcc by running
"gcc-config -l".
-Richard
--
[email protected] mailing list