Linking with libraries in SDKs
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