I believe you can use essentially the same optflags for
and i585 BUT change -mpentiumpro to -mpentium and 
-march=i686 to -march=i586.  You will, of course, also
want to change the "i686 -O3 -mpentiumpro..." to start
with the identifier of i586 -03...etc.  

Upon rebuilding, you would then enter "rpm --rebuild 
--target i586 and rpm would use the line starting with
i586.  

You may run into some src that doesn't like any target
other than i386.  XFree86 didn't like my use of target
i686, indicating that it wasn't an arch that was 
supported for optimizing.  To get around this and 
eliminate the need for me to use the --target i686 
command, I commented out the i386 line in my rpmrc (did
not delete it) and replaced it with the i686 line BUT
I started it with an i386 identifier (ie, optflags: i386
-O3 -ffast-math -mpentiumpro -march=i686, etc...you get
the picture).  Now when I simply enter "rpm --rebuild...
the default is to use i686 optimizing flags AND it 
allows XFree86 to be compiled for an i686 without it 
complaining.  It does work as I am now running XFree86-
3.3.5-15 compiled with i686 optimizations.  No problems
thus far.

-----Original Message-----
From: Adrian [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 27, 1999 11:26 PM
To: [EMAIL PROTECTED]
Cc: recipient.list.not.shown
Subject: Re: Rebuilding RPMs


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.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to