On Sun, 2005-10-23 at 01:31 +1000, 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" If you're using the the GCC from stable ("x86") portage (GCC 3.3), then you should probably use something like: CFLAGS="-O2 -march=pentium3 -msse2 -pipe" GCC 3.4 (marked unstable, "~x86") makes it a little simple by adding a Pentium-M specific architecture type: CFLAGS="-O2 -march=pentium-m -pipe" Although, on a laptop you might want to use "-Os" (size optimization) in place of "-O2", as the disk is a lot slower than desktop machines and you will probably have longer startup times for programs. I'm not too sure on that last part, a I don't have a laptop, though. Anyone else want to take a stab at that? :) Hope that helps. --Peter