I've heard conflicting reports on whether RPM can
detect athlon or not.  If rpm --showrc shows (near the
top):

install arch          : athlon

Then it detects it, all that's left is to make sure it
isn't getting buildarchtranslated.  Check down to
about line 161 in /usr/lib/rpm/rpmrc and it should be:

buildarchtranslate: athlon: athlon

The newest RPM package has decent optflags for athlon
(mostly copied from i586) and I have thrown out to
list whether -mcpu should be added, if so it looks
like this:

optflags: athlon -O3 -fomit-frame-pointer -pipe
-mcpu=athlon -march=athlon -ffast-math
-fno-strength-reduce

Finally, on the compatible arches thing, go to about
line 207.  If you see this:

arch_compat: athlon: i686

that should help, if that doesn't totally do it,
change the line after it so that it reads:

arch_compat: i686: i586 athlon

and let us know where you have success.  Do the same
for the buildarch_compat section near line 291.

Any other questions or comments, let us know.

--- David Walluck <[EMAIL PROTECTED]> wrote:
> On the subject, why don't athlons default to athlon
> instead of i686? 
> I've changed it to anthlon and then it seems to
> think i686 is not a 
> compatible architecture. does anyone have the
> correct ~/.rpmrc for the 
> athlon, and some nice optflags besides -O2?
> 
> 
> 
> 
> -- 
> Sincerely,
> 
> David Walluck
> <[EMAIL PROTECTED]>
> 
> 

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

Reply via email to