Examining architectures in a Fat-binary on Mac OS XApple's Mac OS X supports fat binaries (i.e. multi-architecture). I've been trying to debug a problem with bad kernel access using RXTX and found this reference for the very useful tool lipo
lipoTo see the architectures in a binary it's used like:
/usr/bin/lipo creates or operates on multi-architecture ("fat") files. It can list the architecture types in a fat file, create a single fat file from one or more input files, thin out a single fat file to a specified architecture type, and extract, replace and/or remove architecture types from the input file.
lipo -info librxtxSerial.jnilibWhich returns output like:
Architectures in the fat file: librxtxSerial.jnilib are: x86_64 i386 ppc7400