The i686 is not part of the optflags. I just copy-pasted a line from my
rpmrc.

There are many flags, that's because there are many ways to optimize code.
If each optimization gets me an additional 1% performance, I want them
all! =)

Jean-Michel Dault
[EMAIL PROTECTED]

On Sun, 13 Feb 2000, Linda Walsh wrote:

> Date: Sun, 13 Feb 2000 09:49:04 -0800
> From: Linda Walsh <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [expert] compile for i686
> 
> 
>       Geez -- is that enough flags? -- why couldn't they just have a -m686?
> Sigh.  Under optflags, the first thing you have is "i686".  Is that a
> flag: should it have a "-" in front of it?  Thanks for the great info!
> 
>       Now the 786=PII, and the 868=PIII?  I assume no one has started
> optimizing for those yet?
> 
> Thanks (merci) again!
> -linda
> 
> 
> Jean-Michel Dault wrote:
> > 
> > Here are the flags to optimize for i686:
> > 
> > optflags: i686 -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
> > -mpentiumpro -mcpu=pentiumpro -march=pentiumpro -ffast-math
> > -fexpensive-optimizations -malign-loops=2 -malign-jumps=2
> > -malign-functions=2 -mpreferred-stack-boundary=2
> > 
> > Jean-Michel Dault
> > [EMAIL PROTECTED]
> > 
> > > > how do i compile mysql w/ i686 optimizations? for that matter, how can i best
> > > > optimize it?
> > > >
> > > > ./configure.... ?
> > > ---
> > >       Setting the target for i686 will produce binaries in the 686
> > > directory, but gcc doesn't seem to know anything about x86 higher
> > > than -m486.  I don't understand how pentium or 686 optimizations performed
> > > if the compiler won't take a -m586 or -m686 flag.  Are there other flags
> > > I'm missing?
> > >
> > > Thanks!
> > > -linda
> > >
> 

Reply via email to