Re: building cURL?
Re: building cURL?
- Subject: Re: building cURL?
- From: Tommy Nordgren <email@hidden>
- Date: Fri, 21 Nov 2008 00:56:07 +0100
21 nov 2008 kl. 00.22 skrev Steve Checkoway:
On Thu, Nov 20, 2008 at 03:08:34PM -0800, Rich Collyer wrote:
I have found no hints in the documentation about making a universal
version of the library. I am just guessing that the configure is
similar (bad guess, but I have little to go on).
My experience with this has been that it's easier to add the sources
to an Xcode project and let that deal with making the universal
binary.
For a config.h, I found that running configure on two different
machines and then creating a single config.h--with the correct
preprocessor guards, of course--worked quite well.
It's not necessary to use different machines, if the package you
need to build supports cross-compilation. It's often sufficient to
pass different options into configure.
If you are ambitious, you might want to support both 32 and 64 bit
as well as intel and PPC.
For merging the different config.h files, GNU diff is useful, since it
can merge two versions of header files based on a conditional compile
flag.
In the worst case, I had two targets, one to build x86, one to build
ppc, and then I lipoed them together. I think I needed to use
install_name_tool to fix up one of them.
--
Steve Checkoway
_______________________________________________
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
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
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