Lionel Bouton wrote: > <warn> > We would like to remind you that using anything beyond <c>-O2 > -fomit-frame-pointer -march/-mcpu/-mtune</c> in CFLAGS or CXXFLAGS (and > <c>-mieee, -mabi</c> etc. on selected archs that tell you to do this), > and using anything at all in LDFLAGS or ASFLAGS, is usually not worth it > for most users.
Do we have an official list of recommended -march settings somewhere? I, for one, still do not know what the right CFLAGS for my ThinkPad X60s with its Intel Core Duo CPU are. At the moment I am using CFLAGS="-march=pentium-m -O2 -pipe" while http://gentoo-wiki.com/Safe_Cflags suggests either CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" or CFLAGS="-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer" A tool that suggests CFLAGS based on /proc/cpuinfo and/or x86info would be nice, too. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
signature.asc
Description: OpenPGP digital signature