Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] same library in different places?




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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >[Q] same library in different places? (From: JongAm Park <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.