> 
> I noticed that the version of gcc included with mdk
> 8.0 offers some athlon specific optimizations. 

Really?????? That is so cool. I'd really like to know if this
was something that was part of gcc to begin with or was something
mandrake added on. Currently I am running gcc 2.95.3 and no
athlon specific stuff.

> Currently my system rebuilds src.rpms and source from
> tar balls as i686.  How can I tell the compiler to use
> athlon optimizations?

I am not sure if 'rpm --rebuild something.src.rpm --target=686" selects
good optimization options or not. If I just compile without giving 
any options with gcc, it'll still build a "686 rpm" because the compiler
is hosted on a 686 platform.

Anyhow, what happens if you type in 'gcc -O2 -march=athlon' or
'gcc -O2 -march=k7' ? Do those options get recognized? If it can't
support those options, apparently you can get pretty close by compiling
for a Pentium Pro and adding a few extra flags. I can't recall all the 
flags that are suggested; they'd take up a whole line or two by themselves. I
seem to recall they were documented somewhere on athlonlinux.org.

Please let me know what version of gcc is in Mandrake 8.0; I'd be interested
in verifying whether it really knows about the Athlon or not.


> Abe
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
[EMAIL PROTECTED]                            change magnetic patterns
[EMAIL PROTECTED]               on your hard disk.
-----------------------------------------------------------------------

Reply via email to