Re: [Q] same library in different places?
Re: [Q] same library in different places?
- Subject: Re: [Q] same library in different places?
- From: Shawn Erickson <email@hidden>
- Date: Thu, 31 Aug 2006 22:55:07 -0700
On Aug 31, 2006, at 10:37 PM, JongAm Park wrote:
Hello.
I have been curious about this, but never known exact reason. Can
anyone
explain this to me?
Under MacOSX10.4u.sdk/usr/lib/, there is a libiconv.dylib.
Also, under /usr/lib, there is a same file.
In the Xcode project setting, default SDK path is set as the SDK
directory.
Then, are the dylibs linked in SDK used in runtime? or are the ones in
the /usr/lib used?
The SDKs contain stub libraries (and frameworks) related to that
version of the operating system. When your code is compiled and
linked it is linked using information from those stubs but when you
application is run it is dynamically linked against the ones under /
usr/lib, etc.
SDKs are not used when your application runs (for one only systems
with the developer tools have them).
-Shawn
_______________________________________________
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