"Jonathan Wakely" <jwakely....@gmail.com> wrote: > On Fri, 26 May 2023 at 12:42, Stefan Kanthak wrote: >> Why does the documentation FAIL to specify that CPU features given by >> -m* override -m32 or enables them in ADDITION to those enabled by -march=? > > Because it's obvious. If you ask for sse2 you get it.
ARGH! The documentation for -m32 contradicts | -m32 ... | The -m32 option sets int, long, and pointer types to 32 bits, and | generates code that runs on any i386 system. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > I find it very SURPRISING that you're only just learning the basics of > how to use gcc NOW, after YELLING about all the OUCH. I'm NOT surprised that you don't grok it! gcc -msse4.1 -m32 -march=core2 ... Which -m* options win here? Do -m32 or -march=core2 override -msse4.1? Stefan