• 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: Universal binaries and autoconf
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Universal binaries and autoconf (From: Jerry <email@hidden>)
 >Re: Universal binaries and autoconf (From: "Peter O'Gorman" <email@hidden>)

  • Prev by Date: Linking problem after switching from CW to XCode 2.1
  • Next by Date: Re: xcodeproj and svn
  • Previous by thread: Re: Universal binaries and autoconf
  • Next by thread: Cross development with SDK 10.3.9 not compatible with 10.3.8
  • Index(es):
    • Date
    • Thread