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
> >