Re: "magic numbers incorrect" error trying to use atos on i386 binary
Re: "magic numbers incorrect" error trying to use atos on i386 binary
- Subject: Re: "magic numbers incorrect" error trying to use atos on i386 binary
- From: Greg Guerin <email@hidden>
- Date: Sat, 13 May 2006 07:08:04 -0700
I wrote:
>As I understand it, the problem is the fat (Universal) binary. You have
>to use 'lipo' to extract only the i386 component, making a thin
>(i386-only) binary file. With that, 'atos' should work.
>
>See 'man lipo' for info on how a thin macho is turned into fat macho, and
>vice versa. The reason the "magic numbers" message arises is that fat
>macho has different magic numbers in its header than any thin macho.
Sorry, ignore that. Somehow I got to the end of the original post and
forgot the details at the beginning of it. If 'atos' is complaining about
a thin i386 binary file, it's not a fat/thin problem.
However, it might be worth confirming that the file really is a thin
binary, and not a fat binary with one i386 element. That's the only thing
I can think of, except "atos only works on native arch".
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden