Universal Binaries for an app built with different SDK versions
Universal Binaries for an app built with different SDK versions
- Subject: Universal Binaries for an app built with different SDK versions
- From: Steve Bennett <email@hidden>
- Date: Thu, 12 Jan 2006 19:57:43 -0500
Hi!
I've got a situation (a set of driver kexts, installers, control panels,
support applications and a few command line tools...) which contains a lot
of elements need to be built with specific SDK versions (10.1.5, 10.2.8, and
10.3.0, depending on the code in question...) and almost exclusively built
using the 2.95.2 compiler on PPC platforms in order to load properly on
different versions of the OS. All of this is being built fine using XCode
2.2 right now, and I'm in the middle of the Intel port.
What I'd *really* like to make a universal binary of these elements, where
the PPC version is built with the older SDKs and compiler, and the Intel
version built with the universal SDK and new compiler. Which brings up a
two very important questions:
1) How to merge the two versions together. It seems clear I will need to
have two project files for each element, and merge them using a script. I
see that XCode appears to be using a command called CreateUniversalBinary,
but I can't find it, so I'm guessing it's an integrated pseudo command. My
guess, based on Tech Note TN2137, is that "lipo" can be used to do the job,
yes?
2) Is this even safe to do? Are there any hidden gotchas? I guess this is
my primary concern, figuring out whether a PPC binary built, say, using the
10.1.5 SDK and the 2.95.2 compiler can be safely merged with an Intel binary
using the 4.0 universal SDK and 4.0 compiler?
-->Steve
_______________________________________________
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