![](https://seccdn.libravatar.org/avatar/015241a395c8b9b4902a1adae206330b.jpg?s=120&d=mm&r=g)
On Tuesday 12 March 2002 02:45 am, John Lamb wrote:
The -mcpu=pentiumpro and -march=pentiumpro mean generate code optimised for a pentium pro and generate code that will only run on pentium pro or higher (and therefore even more optimised). I don't think there's any advantage in using both and they may even conflict. For an Athlon, the flag you want is -march=k6.
Actually, the Athlon is a "K7" device, which likes optimizations more akin to a Pentium 3 than to a k6 CPU.
If you configure your own kernel with xconfig (and probably menuconfig too), you get the option of specifying what kind of architecture you have and the configuration automatically gives you sensible optimisations. It is unwise to try to do more unless you really know what you are doing.
Agreed 100%. -- Psychiatrists say that one out of four people are mentally ill. Check three friends. If they're OK, you're it.