At 2/12/00 11:40:00 PM, you wrote:
>William Ahern wrote:
>>
>> 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
>
>
PGCC (a patch against the normal GCC source) has more flags and performs more
optimizations. It even has the flag -mk6 for AMD k6
optimizations (although I don't know how well it really works). I have set CFLAGS and
CXXFLAGS to "-O6 -mk6" for my default values.