Gentoo Archives: gentoo-user

From: Peter Gordon <admin@×××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08
Date: Mon, 24 Oct 2005 07:46:18
Message-Id: 1130037525.12539.3.camel@localhost
In Reply to: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08 by Richard Watson
1 On Sun, 2005-10-23 at 01:31 +1000, 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 If you're using the the GCC from stable ("x86") portage (GCC 3.3), then
8 you should probably use something like:
9
10 CFLAGS="-O2 -march=pentium3 -msse2 -pipe"
11
12 GCC 3.4 (marked unstable, "~x86") makes it a little simple by adding
13 a Pentium-M specific architecture type:
14
15 CFLAGS="-O2 -march=pentium-m -pipe"
16
17 Although, on a laptop you might want to use "-Os" (size optimization)
18 in place of "-O2", as the disk is a lot slower than desktop machines
19 and you will probably have longer startup times for programs. I'm not
20 too sure on that last part, a I don't have a laptop, though. Anyone
21 else want to take a stab at that? :)
22
23 Hope that helps.
24 --Peter

Attachments

File name MIME type
signature.asc application/pgp-signature