On 10/22/2005 05:31 PM, 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"

Honestly, did these CFLAGS ever work? I don't think GCC knows something
about a parameter called -02.
Anyway, I'm using CFLAGS="-O2 -march=pentium-m -pipe" on my Centrino
laptop for about 2 years now without problems. The architecture
pentium-m is available from GCC 3.4 on. GCC 3.3 doesn't support it. If
you use GCC 3.3.x, you should set CFLAGS="-O2 -march=pentium3 -pipe".

You should also take a look at [1] and [2].

[1]: http://gentoo-wiki.com/CFLAGS
[2]: http://gentoo-wiki.com/Safe_Cflags

--
Regards
Jochen
-- 
[email protected] mailing list

Reply via email to