[SDL] Mac OS X Universal Binaries
Martin Storsjö
martin at martin.st
Sat Dec 2 09:27:36 PST 2006
On Sat, 2 Dec 2006, Torsten Giebl wrote:
> It is stupid, really.
>
> I just wanted to know
> if there is any way to see not just if the binary is an UB,
> but also what OSXes it needs.
One way is manually splitting the binary using lipo (e.g. lipo -extract
i386 binary -output binary.i386) and then checking dependencies for each
of the files (e.g. otool -L binary.i386). Things to look out for are e.g.
libgcc_s and libstdc++, which are available from 10.3.9 onwards. It also
tells you which version of the libraries it requires.
// Martin
More information about the SDL
mailing list