Gentoo Archives: gentoo-user

From: Ricardo Saffi Marques <saffi@××××××××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFLAGS
Date: Thu, 17 Jan 2008 15:40:47
Message-Id: 3b5772b30801170740v558a1552v749c1d5633ba2732@mail.gmail.com
In Reply to: Re: [gentoo-user] CFLAGS by Kenneth Prugh
1 http://gentoo-wiki.com/Safe_Cflags
2
3 > Intel Core 2 Duo/Quad / Xeon 51xx/53xx
4 >
5 > vendor_id : GenuineIntel
6 > cpu family : 6
7 > model : 15
8 > model name : Intel(R) Core(TM)2 CPU XXXX @ XXXGHz
9 >
10 > *32 bit profile (x86)*
11 >
12 > CHOST="i686-pc-linux-gnu"
13 > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
14 > CXXFLAGS="${CFLAGS}"
15 >
16 > *64 bit profile (amd64)*
17 >
18 > CHOST="x86_64-pc-linux-gnu"
19 > CFLAGS="-march=nocona -O2 -pipe"
20 > CXXFLAGS="${CFLAGS}"
21 >
22 > *Note:*
23 >
24 > - GCC 4.3 has -march=core2[1]<http://www.gnu.org/software/gcc/gcc-4.3/changes.html>,
25 > but Gentoo has nothing above 4.2 in portage.
26 >
27 >