Hello, Here is my cflag variable.
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" (1) According to the CFlags Central thread on forums and the gcc manual optimisations page (link [1]) the -O3 flag includes the -fomit-frame-pointer optimisation. Is this right? If so, why are there recommendations to include it in addition to -O3 (link [2&3]? [1]http://gcc.gnu.org/onlinedocs/gcc-3.2.2/gcc/Optimize-Options.html#Optimize%20Options [2]http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html (stable) [3]http://www.freehackers.org/gentoo/gccflags/flag_gcc3opt.html (experimental) (2) How can I make my Cflag above more aggressive to give better performance? At the moment, it is quite basic and safe but I'm pretty sure more can be done with it. Anyone have a P4 and can vouch for additional optimisations? I am not willing to switch down to -march=pentium3 as I have had no problems with pentium4. Much appreciated. Many thanks. Dhruba Bandopadhyay. -- [EMAIL PROTECTED] mailing list