KDE optimizations...

Kurt Wall kwall
Wed Aug 11 17:41:10 PDT 2004


In a 3.1K blaze of typing glory, Collins Richey wrote:
> 
> Just a little background:
> 
> 1. Per the writeup re the compiler, -Os is very similar to -O2 in the
> optimizations chosen, but optimizations that would increase the size of the
> executable are suppressed. Executables compiled with -Os are usually much
> smaller than those produced with -O2 or -O3.

Here's a script you can use to determine the "best" optimization flags
(except for the -On ones) for your CPU:

http://kurtwerks.com/pubs/gcc_book.html

I didn't write it, but it Works For Me (c). If it breaks, you get to keep
all the pieces.

Kurt
-- 
Your analyst has you mixed up with another patient.  Don't believe a
thing he tells you.


More information about the Linux-users mailing list