Re: best Gcc compilzation flags

Matthew Groote-Kirsch <[email protected]>
Newsgroups gmane.linux.gentoo.performance
Message-ID <[email protected]>
I settled on:

CFLAGS="-O2 -frename-registers -ftracer -funroll-loops -fomit-frame-pointer -pipe -march=athlon"

Looking around on the forums a bit, it seemed like -O2 is recommended over -O3.



On Mon, 22 Nov 2004 12:15:59 +0500
"Server Tuneup mission" <[email protected]> wrote:

> Dear all
> 
> which are the best Gcc compilation flags used with gentoo which will likely
> to  give maximum performance
> 
> a.g  -O3 -march=Pentium -fprefetch-loop-arrays -funroll-loops
> 
> i have 2 servers Pentium 3 and Pentium 4  Intel based
> 
> any information will be help appreciated !!!!
> 
> Thanks and Regards
> 
> UX
> 
> 
> --
> [email protected] mailing list
> 

--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.