if RPM can't build athlon packages then why do I have
an athlon directory in /usr/src/RPM/RPMS ? The
rebuild process doesn't die until:
Generating MCONFIG...
which happens after it has asked the compiler if it
can build athlon packages and it has answered yes.
I read through the man and a whole crap load of other
documentation before I even asked my question. I view
this list as a LAST RESORT not a starting place.
My system currently defaults to building i686
packages. I know that there is a config file
somewhere that I can edit to make this work I just
can't remember which one ;-)
I also figured I'd start this conversation since I
know that a lot of people use amd processors and it's
nice for everybody to get as much bang for their buck
as they can *right now*.
Thanks for the RTFM answer dude. Next time read the
thread before you post.
Abe
--- "Jose M. Sanchez" <[EMAIL PROTECTED]> wrote:
>
> Rpm knows nothing about the K7 and the Athlon.
>
> You need to compile it for the i586 but pass Athlon
> switches to the compiler
> via RPM...
>
> Read the MAN...
>
> -JMS
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> abram olson
> Sent: Saturday, April 28, 2001 2:15 AM
> To: David E. Fox; [EMAIL PROTECTED]
> Subject: Re: [newbie] rebuild src.rpms with athlon
> optimizations
>
>
> well I tried to rebuild a package that I had
> successfully built before with these commands:
>
> rpm --rebuild --target=athlon ftp-0.17-4mdk.src.rpm
> rpm --rebuild --target=k7 ftp-0.17-4mdk.src.rpm
>
> and neither one of them worked. Here's an out put
> of
> where it failed on every one of the packages.
>
>
> Generating MCONFIG...
> + %make
> /var/tmp/rpm-tmp.87677: fg: no job control
> Bad exit status from /var/tmp/rpm-tmp.87677 (%build)
>
> hmmm. Anybody else have any ideas on this?
> Mandrake
> guys? Todd? Civilme?
>
>
> Abe
>
>
> --- "David E. Fox" <[EMAIL PROTECTED]>
> wrote:
> > >
> > > 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.
> >
>
-----------------------------------------------------------------------
>
>
> =====
> Jesus saves.
> Allah forgives,
> Cthulu thinks you'd make a nice sandwich.
> ------------------------------------------
> See my digital art at:
>
> http://www.foramenmagnum.net/images.html
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great
> prices
> http://auctions.yahoo.com/
>
>
=====
Jesus saves.
Allah forgives,
Cthulu thinks you'd make a nice sandwich.
------------------------------------------
See my digital art at:
http://www.foramenmagnum.net/images.html
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/