[SDL] Mac OS X Universal Binaries
Gregory Smith
wolfy at treellama.org
Sat Dec 2 11:18:48 PST 2006
Peter Mulholland wrote:
> For PPC, provided you compile the PPC code with gcc 3, it runs on 10.2
> and later. i386 must be compiled with gcc 4 which runs on 10.4. PPC
> code compiled with gcc 4 needs 10.3.9 to work.
>
> If you want to have a UB which will work for PPC back to 10.2.x, you
> must compile ppc and i386 code seperately, and glue the two
> executables together with the lipo tool.
Well, you don't have to use lipo directly. It isn't difficult to set up
an Xcode project that builds a Universal Binary, compiling the PPC half
with gcc 3 and the intel half with gcc 4. We have such a project for
Aleph One
But missing out on gcc 4 goodness for PowerPC is painful.
Gregory
More information about the SDL
mailing list