-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CFLAGS is something you can easily break a system with, no matter what
compiler version. You should read up on any flag before applying it and
be very conservative on production systems / systems that you need and
that should always be in a working condition.

I have those CFLAGS on various systems:
Production server running amd64 and gcc-3.4.5:
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -msse3"
CXXFLAGS="${CFLAGS}"

Home server running x86 and gcc-4.1.1:
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -m3dnow
- -msse -mfpmath=sse"
CXXFLAGS=${CFLAGS}

Desktop machine running ~amd64 and gcc-4.1.1 (my box for testing,
experimenting and generally messing around with stuff):
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -msse3"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"


There's a thread called "CFLAGS central" on forums.gentoo.org where
discussions about CFLAGS take place. It's long, it's sometimes very
controversial, but it's also quite informing. General rule of thumb: If
you don't know exactly what you are doing you shouldn't be doing it ^^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEiP/X6q4f+IV6B/wRAryEAJwPlQ82ytAlnlveo/B/E0Th9VvDCgCdGkcI
fHptMLDBVNbDg3AxyVAZ4yQ=
=9zwc
-----END PGP SIGNATURE-----
-- 
gentoo-amd64@gentoo.org mailing list

Reply via email to