Subject: | How do I indicate and distinguish GCC 3.3 G4-optimized from GCC 3.3 G5-optimized? |
Having recently upgraded my 10.2.6 box to GCC 3.3 and 10.2.8; now I can compile optimized binaries for the G4 *or* the G5 processor, distinct, with some extreme levels of optimization turned on.
The core of this bug, though, is that there's no way to indicate (that I can see) which processor a binary is compiled for, under Mac OS X. I imagine the compiler supports G3 binaries as well, given that OS X runs on the old iMacs.
As well, filename guidelines aren't clear to me as to where indication of the move from 10.2.6/gcc3.1 to 10.2.8/gcc3.3/g4 will affect the existing filenames.
I think this is relevant for Intel platforms as well, with the distinct optimizations for Athlon and Pentium; the Bit::Vector module comes to mind as one that would benefit from the extra level of optimization, if indicated by PAR.