what is the syntax for a i586?
----- Original Message -----
From: "patrick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 27, 1999 12:25 PM
Subject: RE: Rebuilding RPMs
> You simply add a new string of optimization flags to the
> /usr/lib/rpm/rpmrc file (I did) specifically for i686, in
> the first block of settings where i386 is found (with its
> -O2 -m486 loser line). Save the file and from that point
> on if you use --target i686, it will use your new optimization
> flags instead of the i486 optimization flags.
>
> This is the portion from my improved rpmrc:
>
> #############################################################
>
> # Please send new entries to [EMAIL PROTECTED]
>
> #############################################################
> # Values for RPM_OPT_FLAGS for various platforms
>
> optflags:
> i686 -O3 -mpentiumpro -fno-strength-reduce -fomit-frame-pointer -fno-e
> xceptions -fno-rtti -ffast-math -march=i686 -pipe -s
> optflags: i386 -O2 -m486 -fno-strength-reduce
> optflags: alpha -O2
>
> ...etc
>
> -----Original Message-----
> From: Jason Costomiris [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, November 27, 1999 7:05 AM
> To: [EMAIL PROTECTED]
> Cc: recipient.list.not.shown
> Subject: Re: Rebuilding RPMs
>
>
> On Sat, Nov 27, 1999 at 03:01:30AM -0500, Michael J. McGillick wrote:
> : I'm intrigued with rebuilding the SRPMS for Red Hat 6.1 to all i686.
> Is
> : this process as straightforward as installing the source rpm, and
> then
> : typing:
> :
> : rebuild -bb --target=i686
>
> All this frenzy about rebuilding our RPMs with --target=i686..
>
> I look at /usr/lib/rpm/rpmrc and see this:
>
> buildarchtranslate: i686: i386
>
> This tells me that RPM looks at the optflags, etc for i386 anyhow.
> The
> "magic" --target=i686 doesn't really do anything except name your RPM
> foo.i686.rpm. Make sure your
>
> optflags: i386:
>
> line reflects what you want! Here are my optflags:
>
> -O3 -mpentiumpro -DCPU=i686 -fno-strength-reduce -fexpensive-optimizat
> ions
> -ffast-math -funroll-loops -fomit-frame-pointer
>
> (all on one line of course..)
>
> That's been working pretty well on this beast:
> http://www.jasons.org/anthrax.phtml
>
> --
> Jason Costomiris <><
> Technologist, cryptogeek, human.
> jcostom {at} jasons {dot} org | http://www.jasons.org/
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.