xCode 2.1 - Universal Binary

Miscellaneous Forums/MacOS X Discussion/xCode 2.1 - Universal Binary

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you have both the Intel and ppc versions, making it a Universal binary is a single command:

lipo -create -output <new_universal> <plat_specific_bin_1> <plat_specific_bin_2>

...what blitzmax is missing at this point is facilities to let you use the cross compiling features gcc provides (i.e. -arch flag, having everything compiled for both architectures, etc) and using the lipo tool at the end (as seen above). If you have both a Intel machine and a g3/g4/g5 you can just compile the binaries for both platforms and afterwards create the universal binary with lipo.