Re: How to find the architecture for a mach-o file?
Re: How to find the architecture for a mach-o file?
- Subject: Re: How to find the architecture for a mach-o file?
- From: Jonas Maebe <email@hidden>
- Date: Wed, 25 Mar 2009 13:53:57 +0100
On 25 Mar 2009, at 13:43, Karan, Cem (Civ, ARL/CISD) wrote:
Using otool -aSfh, I get the following:
Mach header
magic cputype cpusubtype caps filetype ncmds
sizeofcmds flags
0xfeedface 7 3 0x00 6 11
1208 0x00100085
The problem is that I have no idea what the cputype and subtype
numbers mean. Anybody with any ideas?
$ file /usr/lib/libexpat.1.dylib
/usr/lib/libexpat.1.dylib: Mach-O universal binary with 4 architectures
/usr/lib/libexpat.1.dylib (for architecture ppc7400): Mach-O
dynamically linked shared library ppc
/usr/lib/libexpat.1.dylib (for architecture ppc64): Mach-O 64-bit
dynamically linked shared library ppc64
/usr/lib/libexpat.1.dylib (for architecture i386): Mach-O dynamically
linked shared library i386
/usr/lib/libexpat.1.dylib (for architecture x86_64): Mach-O 64-bit
dynamically linked shared library x86_64
In fact, any ideas on how to fix this problem?
It depends on the cause, but if it does not contain all necessary
architectures: probably reinstall (possibly by manually extracting it
from some OS installer package, or copying it over from another
machine).
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden