I was trying the latest version of Mandrake which seems to pass additional
flags to the compiler to optimize for the Pentium when building the
kernel.

Since I am using a K6 and gcc has a K6 flag now, I tried passing some
additional flags during the make.

For example,
make CFLAGS="-O3 -mcpu=k6" bzImage

However, you end up with a very bad kernel if you do this... One reason
seems to be that all the default flags are replaced by the two flags I
passed above.

I wanted some hints or tips for optimizing the kernel through compiler
flags for specific architectures... k6, Pentium III, etc... using
-march=... in conjunction with other optimizations.

Any help would be appreciated.

Christopher Wilson



---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to