1 |
Hi Richard, |
2 |
|
3 |
|
4 |
> I've just got a new laptop I'm installing Gentoo on and was wondering if |
5 |
> anyone could advise on the CFLAG setting I'm using. The CPU is a |
6 |
> Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set |
7 |
> CFLAGS="-02 -mcpu=pentium -pipe" |
8 |
|
9 |
You may look at http://gentoo-wiki.com/Safe_Cflags#Pentium-M_.2F_Centrino_.28Intel.29 |
10 |
|
11 |
If you use x86 (not ~x86) then you have a gcc < 3.4.3. The page above |
12 |
proposes to use: CFLAGS="-O2 -march=pentium3 -pipe". A friend of mine with |
13 |
a Pentium M uses CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer", |
14 |
which is dangerous if you believe the wiki-page. |
15 |
|
16 |
If you plan to use gentoo on many x86 systems with different CPU's and you |
17 |
want to share binarys. I recommend to use: CFLAGS="-O2 -march=i686 |
18 |
-fomit-frame-pointer -pipe" (runs on any Intel/AMD/... starting from |
19 |
Pentium2-class CPU). |
20 |
|
21 |
Sascha. |
22 |
|
23 |
-- |
24 |
gentoo-user@g.o mailing list |