GCC compile options

Peter Abrahamsen peter at betcha.com
Fri May 11 19:09:00 CDT 2007


Hello Giorgio,

I'm using the following:
CFLAGS="-O2 -march=nocona -pipe"

based on the information here:
http://gentoo-wiki.com/Safe_Cflags

It's worked well for me.

Cheers,
Peter

Giorgio Zarrelli wrote:
> Hi,
> 
> having a PE 2950 with a  Xeon E5335 and Ubuntu Server 7.04 64, I'm trying to 
> find the best compile options.
> 
> By now, I'm using generic pentium compile options to build MySQL:
> 
> CFLAGS="-O3" CXX=gcc 
> CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"
> 
> Is there anything better?
> 
> Thank you.
> 
> Giorgio Zarrelli
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 



More information about the Linux-PowerEdge mailing list