RE: How to find the architecture for a mach-o file?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcmtTbMegIqIpJnKTxeXe22ylSnkJwADWCIg Thread-topic: How to find the architecture for a mach-o file? Yup, it did! Thanks... although now I'm even more confused than before, because I'm running on a Xeon PowerMac, so the type and subtype should be fine... Thanks, Cem Karan
-----Original Message----- From: Chris Ridd [mailto:chrisridd@mac.com] Sent: Wednesday, March 25, 2009 9:29 AM To: Karan, Cem (Civ, ARL/CISD) Cc: Darwin Dev Subject: Re: How to find the architecture for a mach-o file?
On 25 Mar 2009, at 12: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? In fact, any ideas on how to fix this problem?
Does <mach/machine.h> help?
Cheers,
Chris
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Karan, Cem (Civ, ARL/CISD)