Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Which -march and flags for Intel Dual Core (*NOT* Core Duo)?
Date: Sat, 01 Sep 2007 14:11:20
Message-Id: 20070901140119.GA8648@waltdnes.org
1 On Wed, Aug 29, 2007 at 09:43:35PM -0400, Statux wrote
2
3 > CFLAGS="-march=prescott -O2 -pipe"
4 > CHOST="i686-pc-linux-gnu"
5 >
6 > which is what I use on my 531 Prescott (the pni cpuflag indicates
7 > Prescott or compatible)
8
9 Thanks. I don't know if I'm reading the gcc docs too literally, but
10 the commentary on "-mfpmath=sse" indicates that mmx/sse/sse/sse3 flags
11 must be explicitly stated for "-mfpmath=sse" to take effect on a 32-bit
12 system (sse is the default on 64-bit systems). So I explicitly included
13 the flags. I also included -fomit-frame-pointer, resulting in...
14
15 CFLAGS="-O2 -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer -pipe"
16
17 --
18 Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1
19 Q. Mr. Ghandi, what do you think of Microsoft security?
20 A. I think it would be a good idea.
21 --
22 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Which -march and flags for Intel Dual Core (*NOT* Core Duo)? Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>