Hello, (sorry, i -almost- stoled the title from someone else). Is it possible to get information about any binary on Snow Leopard, to determine if it's a 32 bits or 64 bits binary ? I played with the 'otool' command but can't find this kind of information. Thanks.
+2
A:
Use the 'file' command instead of 'otool'. It will list all the architectures in the binary. On Intel Macs i386 is 32 bit and x86_64 is 64 bit.
Grant Lammi
2009-12-21 18:55:33
Great ! shame on me for not finding this :)
jideel
2009-12-21 21:54:05
There's also lipo -info.
Nicholas Riley
2010-03-08 02:45:22