Gentoo Archives: gentoo-user

From: Kristian Poul Herkild <kristian@×××××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFLAGS, is this better than what I have?
Date: Sun, 04 Dec 2005 09:18:46
Message-Id: 4392B2CA.4000501@herkild.dk
In Reply to: [gentoo-user] CFLAGS, is this better than what I have? by Dale
1 Dale wrote:
2 > Hi,
3 >
4 > I have been up and running a while and am running stable but this is
5 > Gentoo. ;) I found a script that tells you what your CFLAGS are
6 > suposed to be and it is different from what I am using. This is what I
7 > am using now, from make.conf of course:
8 >
9 >
10 >>CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
11 >>
12 >
13 >
14 > This is what the script said:
15 >
16 >
17 >>-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow
18 >>
19 >
20 >
21 > I assume I would have to add the-O3 to that though.
22 >
23 > I have a AMD XP 2500+ and 1GB of ram. I like it to run fast even if it
24 > takes longer to compile. I think that is where the -O3 comes in but be
25 > gentle if I am wrong. For those who may read this and not tell the
26 > difference, that is a minus sign, the letter O and the number three.
27 >
28 > What do you folks think? Is the one I am using better or the one it
29 > says? I do have long uptimes so I do want to stay stable. I have went
30 > as long as 9 months with no reboot.
31 >
32 > Thanks.
33 >
34 > Dale
35 > :-)
36 >
37
38
39 Well, it looks pretty much like my CLAFGS:
40
41 CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer -msse
42 -mmmx -m3dnow -pipe" (the same I used with LFS).
43
44 The difference being -O2 instead of -O3.
45
46 I don't think you'll gain much with the new CFLAGS, but they won't hurt
47 stability.
48
49 -Kristian Poul Herkild
50 --
51 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] CFLAGS, is this better than what I have? Robert Crawford <flacycads@×××.net>