Hi Richard,

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"

You may look at 
http://gentoo-wiki.com/Safe_Cflags#Pentium-M_.2F_Centrino_.28Intel.29

If you use x86 (not ~x86) then you have a gcc < 3.4.3. The page above proposes to use: CFLAGS="-O2 -march=pentium3 -pipe". A friend of mine with a Pentium M uses CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer", which is dangerous if you believe the wiki-page.

If you plan to use gentoo on many x86 systems with different CPU's and you want to share binarys. I recommend to use: CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" (runs on any Intel/AMD/... starting from Pentium2-class CPU).

Sascha.

--
gentoo-user@gentoo.org mailing list

Reply via email to