optimization

Gerard Beekmans gerard at linuxfromscratch.org
Fri Jun 9 11:26:18 PDT 2000


> ---<snip>---( modify this to your needs )
> 
> #!/bin/sh
> CFLAGS='-O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mcpu=k6
> -march=k6 -ffast-math -mieee-fp -fexpensive-optimizations -malign-loops=2
> -malign-jumps=2 -malign-functions=2' ./configure
> 
> ---<snip>---

The following options aren't documented in 'man gcc'. So are they valid
options or what:

-fno-exceptions
-fno-rtti
-march
-malign-loops
-malign-jumps
-malign-functions

also:
-mcpu is used for MIPS family of processors according to this man page.
-O6 isn't documented, so does it actually exists? Somebody told he uses
-march=pentiumpro
Since man gcc doesn't mention -march at all, or any 'pentiumpro' string,
how does one figure out what to use here and what the available options
are?

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
News Reader access: news.pcrdallas.com
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list