1 |
On Fri, Jul 13, 2001 at 11:35:05PM +0300, Dan Armak wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> In make.conf we specify the optimization CXXFLAGS as follows: |
5 |
> |
6 |
> # For Pentium and k6/2 machines |
7 |
> # ----------------------------- |
8 |
> |
9 |
> #CHOST="i586-pc-linux-gnu" |
10 |
> #CFLAGS="-mpentium -march=pentium -O3 -pipe" |
11 |
> #CXXFLAGS="-mpentium -march=pentium -O3 -pipe" |
12 |
> |
13 |
> Why don't we use -march=k6 -mcpu=k6? Wouldn't that allow use of mmx and |
14 |
> 3dnow, which a generic pentium doesn't have? |
15 |
|
16 |
-march=k6 will cause the i586 build to *not* run on a Pentium Classic or |
17 |
MMX, which is why we don't use it. However, just the -mcpu=k6 should work |
18 |
on anything. Yes, we might want to think about using different optimization |
19 |
settings for our default builds :) I don't think that an -mathlon option |
20 |
is available yet; I think that requires the athlon-gcc patches which really |
21 |
don't seem to be actively developed. |
22 |
|
23 |
Best Regards, |
24 |
|
25 |
-- |
26 |
Daniel Robbins <drobbins@g.o> |
27 |
President/CEO http://www.gentoo.org |
28 |
Gentoo Technologies, Inc. |