• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "magic numbers incorrect" error trying to use atos on i386 binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: "magic numbers incorrect" error trying to use atos on i386 binary
      • From: Greg Hurrell <email@hidden>
    • Re: "magic numbers incorrect" error trying to use atos on i386 binary
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: "magic numbers incorrect" error trying to use atos on i386 binary
  • Next by Date: Re: "magic numbers incorrect" error trying to use atos on i386 binary
  • Previous by thread: Re: "magic numbers incorrect" error trying to use atos on i386 binary
  • Next by thread: Re: "magic numbers incorrect" error trying to use atos on i386 binary
  • Index(es):
    • Date
    • Thread