Re: Universal binaries and autoconf
Re: Universal binaries and autoconf
- Subject: Re: Universal binaries and autoconf
- From: "Peter O'Gorman" <email@hidden>
- Date: Thu, 09 Jun 2005 22:55:30 +0900
[readded the list]
Jerry wrote:
Thanks for the reply - those flags will do nicely! But I'm slightly
confused - does this actually build a fat library? I wasn't aware that
you could do such a thing, but it makes sense, and certainly makes life
easier - I was expecting to have to build twice and mess about with
renaming the products.
We have a load of these libraries, some using autoconf, some using
libtool and some with plain makefiles (I like those ones). We only ever
use the static versions of the libraries though.
Oh, yeah, I forgot that this is not a fat darwin, and you need to use the
10.4u SDK. Add -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk to LDFLAGS,
to get the right libraries. It used to be possible to set the NEXT_ROOT
environment variable to do this, but that ability went away with xcode-2.1
(why?).
You probably also want to change the header search paths (but I am not sure
how different the headers in the SDK are to the ones in /usr/include), you
can do that by copying what xcodebuild does (-isysroot, I think).
Peter
--
Peter O'Gorman - http://www.pogma.com
_______________________________________________
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