• 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: How do I build universal binaries for libraries with endian-specific code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I build universal binaries for libraries with endian-specific code


  • Subject: Re: How do I build universal binaries for libraries with endian-specific code
  • From: Damien Bobillot <email@hidden>
  • Date: Mon, 3 Oct 2005 00:21:20 +0200


Norm Schuster wrote :

Also, why didn't Apple just add another folder in the bundle containing two different executable files like it did with PEF and Mach-)?  Why not have a bundle structure like this:

/Contents/MacOSClassic/PEF_Executable_PPC
/Contents/MacOS/MachO_Exectuable_PPC
/Contents/MacOSIntel/MachO_Executable_Intel

This would have made more sense rather than having a "fat" application with no obvious way to make it leaner.

The Contents/SomeThing/... is used for different systems (and different executable formats), not for different architectures. One may imagine a Contents/Linux/ or a Contents/Windows/ for multiplatform applications (each version may even use totally different APIs).

The fat object format is used to stored many code variants (PPC/x86, but also G3/G4/G5 or a potential intel/AMD variants). In this case, the variant use the same executable format, and the same APIs.

-- 
Damien Bobillot

 _______________________________________________
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

  • Prev by Date: Code Sense: not parsing frameworks...
  • Next by Date: Re: How to use TextWrangler as the diff tool?
  • Previous by thread: Re: Code Sense: not parsing frameworks...
  • Next by thread: Re: How do I build universal binaries for libraries with endian-specific code
  • Index(es):
    • Date
    • Thread