2.4 - P200 optimization

David D.W. Downey david.downey at codecastle.com
Sat Sep 2 04:01:51 PDT 2000

I would suggest -O3 -mcpu=i586 -march=pentium as the right optimization
levels for your machine. These can be passed to gcc itself as paramaters
for when you rebuild it during install. this will give you an optimized
gcc to work with (which you then can run it ANOTHER time in order to get
the max optmization from gcc once it's installed.)

pGCC was built exactly this way. Use the above switches on every
application you build after you  rebuild gcc itself. Bear in mind some
applications tend to either puke using -O3 as tth eoptimization level or
compile fine but have unexpected bugs.  Due to compiler choices about HOW
to optimize (maybe it unrolls internal loops, cuts out jumps ect
ect) these bugs actually get introduced by the compiler at higher
optimization levels. Just a word of advise.

On Sat, 2 Sep 2000, Erika Pacholleck wrote:

> Before I begin to build the 2.4 with my previous lfs system
> one question, maybe there's someone who could give me
> a hint.
> Processor: Intel Pentium 200 without MMX
> Kernel-2.2.14 recognizes
> Detected 200458097 Hz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 399.77 BogoMIPS
> Dentry hash table entries: 16384 (order 5, 128k)
> Buffer cache hash table entries: 131072 (order 7, 512k)
> Page cache hash table entries: 32768 (order 5, 128k)
> VFS: Diskquotas version dquot_6.4.0 initialized
> CPU: Intel Pentium 75 - 200 stepping 0c
> Checking 386/387 coupling... OK, FPU using exception 16 error reporting
> hope I copied all
> question: 
> Could I use the pentium optimization (maybe pgcc) or must I stay with i586
> Until now I used i586 and it was fine. Any comments?
> Erika

David D.W. Downey          Red Hat Certified Engineer   |   Internet Security Specialist            
KiXO Linux Creator         http://www.KiXOLinux.com | http://sourceforge.net/projects/kixolinux/
HAGISS Project Leader      http://www.sourceforge.net/projects/HAGISS/ (part of KiXO Linux)
Member OSWG, LPI           http://www.owsg.org   |   http://www.lpi.org    
  "A good supervisor can step on your toes without messing up your shine!" (fortune-mod quote)

More information about the lfs-dev mailing list