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