Click to See Complete Forum and Search --> : Optimizing for P4


Hena
09-27-2001, 04:16 AM
What should i use to optimize P4 as flags in configures? I have some optimizing tips for i686 or P3/P2/PentiumPro:

CFLAGS='-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions'

And should i use egcs instead of gcc for compiling linux kernel?

Dark Ninja
09-27-2001, 10:51 AM
As part of the kernel compilation process, you should type one of the following:

make config
make menuconfig
make xconfig

Any one of these will allow you to decide your kernel configuration options. One of the options is - what processor you want your system to be optimized for. Pentium IV is one of these.

(Maybe I missed something - but, I think that's what you are asking.)


Dark Ninja

Hena
09-27-2001, 10:53 AM
Yep, that was basicly it :)