On Saturday 11 February 2006 03:50, Linda Walsh wrote:
I was noticing that the default compiler options on my 9.3 based
distro when I remake a source _appear_ to be:
-O2 -g -march=i586 -mcpu=i686
Are these the options used to build the SuSE binary RPMs (for the i586 arch)? When did the "-mcpu=i686" get added for standard i586 binaries?
That's been there a while. But the official packages aren't built with this rpmrc. For example, -g isn't used in the official packages (if you rebuild a package, it will invariably be much larger than the original, at least in part because of all the debug stuff you get in your version) Not being an Intel assembly expert (or even novice) I won't attempt to answer your other questions, except
Have the build defaults changed in the [Open]SuSE10 series?
Slightly. Now it's optflags: i586 -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2