optimization

Avery Fay afay at ultranet.com
Fri Jun 9 12:26:23 PDT 2000


----- Original Message -----
From: "Gerard Beekmans" <gerard at linuxfromscratch.org>
To: <lfs-discuss at linuxfromscratch.org>
Sent: Friday, June 09, 2000 2:26 PM
Subject: Re: optimization


> > ---<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
>

The free software foundation is kind of annoying in that they only like to
use their own software.
Try the info page (ie info gcc). This should have all of the options.

Avery Fay




--
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