Gentoo Archives: gentoo-user

From: Jochen Schalanda <jochen@×××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08
Date: Mon, 24 Oct 2005 07:24:42
Message-Id: 435B7355.7090903@schalanda.de
In Reply to: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08 by Richard Watson
1 On 10/22/2005 05:31 PM, Richard Watson wrote:
2 > I've just got a new laptop I'm installing Gentoo on and was wondering if
3 > anyone could advise on the CFLAG setting I'm using. The CPU is a
4 > Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
5 > CFLAGS="-02 -mcpu=pentium -pipe"
6
7 Honestly, did these CFLAGS ever work? I don't think GCC knows something
8 about a parameter called -02.
9 Anyway, I'm using CFLAGS="-O2 -march=pentium-m -pipe" on my Centrino
10 laptop for about 2 years now without problems. The architecture
11 pentium-m is available from GCC 3.4 on. GCC 3.3 doesn't support it. If
12 you use GCC 3.3.x, you should set CFLAGS="-O2 -march=pentium3 -pipe".
13
14 You should also take a look at [1] and [2].
15
16 [1]: http://gentoo-wiki.com/CFLAGS
17 [2]: http://gentoo-wiki.com/Safe_Cflags
18
19 --
20 Regards
21 Jochen
22 --
23 gentoo-user@g.o mailing list