• 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
Linking with libraries in SDKs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking with libraries in SDKs


  • Subject: Linking with libraries in SDKs
  • From: Tim Conkling <email@hidden>
  • Date: Wed, 8 Jun 2005 14:06:29 -0400

As stated previously, I'm using libxml and zlib in my program. Both of these libraries are included with the Mac OS. Should I be linking with the libraries in /usr/lib, or the libraries in the directory of the Mac OS SDK I'm using?

Is it possible to have Xcode switch which library it links to based on the SDK I'm currently developing with (i.e., if I switched my SDK to 10.3, is it possible to have Xcode automatically know to link with the libxml.dylib and libz.dylib files in the 10.3 SDK directory)?

A related question: to allow Xcode to find the appropriate headers for libxml and libz, should I add /usr/include and /usr/include/ libxml2 to my Header Search Paths, or should I add some SDK-relative paths instead?

Tim
_______________________________________________
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


  • Follow-Ups:
    • Re: Linking with libraries in SDKs
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Build Styles vs Build Configurations
  • Next by Date: Linking with static sqlite 3 library
  • Previous by thread: Re: Build Styles vs Build Configurations
  • Next by thread: Re: Linking with libraries in SDKs
  • Index(es):
    • Date
    • Thread