Xcode-way of using lipo to obtain universal binaries
Xcode-way of using lipo to obtain universal binaries
- Subject: Xcode-way of using lipo to obtain universal binaries
- From: Kaspar Fischer <email@hidden>
- Date: Thu, 16 Feb 2006 17:29:52 +0100
Hi all,
My project uses a library, which itself is configured using
autoconf (./configure blabla). In order to build a universal
library, I generated, once on a PowerPC box, once on a Intel
box, the config.h file for the respective build.
(In other words, I went for the approach where you build the
library twice; doing all in one step using "-arch ppc -arch i386"
did not work for me as some files need not even be compiled
in one build...)
What is the best way to implement something like this in Xcode?
I have the following in mind:
- add two subprojects, one generating the ppc library,
one the intel library
- add a shell script phase that calls lipo to unify them
Is this the way to go? Is there some info somewhere on
the web illustrating how best to do this? (I could not find
anything.) Can Xcode do the lipo step directly for me?
Thanks,
Kaspar
_______________________________________________
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