Re: [proaudio] gcc cflags |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] gcc cflags
- From: "Reuben Martin" <reuben.m@xxxxxxxxx>
- Date: Wed, 23 Aug 2006 16:20:18 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sDDqRjRT1drI++J7QVV+r5Fr/Wdx0GUJNm5zojNPUIaEUjsCafpRv0ysNva30GnfuH3DGqrLxg34GjoFu8nxsSTRsV4iYGZ9lPLxf5wFIbDNDSD2iw/SFcnbmqWfHqVVeRbmQS6+zYryW/i0nFWupi1ZgM0IECoqi0xLNUMxVAw=
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