optimization flags

Tushar Teredesai tushar at linuxfromscratch.org
Sun Jan 12 16:50:40 PST 2003


Eric Miller wrote:

>Also, has anyone ever compiled a resource of packages that respond well/don't
>respond well to optimization?  Something like:
>
>Package        CFLAG        Tolerance
>-------------------------------------
>foo            march        no good
>               mcpu         ok
>bar            march        ok
>               mcpu         *DO NOT USE*
>
-march=i686 works for me in all packages (including glibc, binutils, gcc).

>If someone should endeavor to experiment with this, what are the most used
>CFLAGS options (besides arch and cpu) to test?
>  
>
-O2
-march=
-fomit-frame-pointer
-fexpensive-optimizations (only for packages that run most of the time 
like moz). Haven't tested it to see if it does make a difference:)

-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list