Re: [proaudio] gcc cflags

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Based on how agressive you seem to want to be, I would recommend:

CFLAGS="-O2 -march=pentium4 -pipe -ftracer -fweb -ftree-vectorize"

The -ftree-vectorize does wonders.

If you are still feeling like you want to push it a little harder you
can try changing -O2 to -O3 and adding -ffast-math. Some things don't
work well with -O3 though (some of the LADSPA plugins don't work right
with -O3) and some programs don't work correctly with -ffast-math.
(for instance OpenOffice will fail to compile if Python has been built
with -ffast-math turned on)

-Reuben



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/