• 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: [Q] same library in different places?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [Q] same library in different places?
      • From: JongAm Park <email@hidden>
References: 
 >[Q] same library in different places? (From: JongAm Park <email@hidden>)

  • Prev by Date: [Q] same library in different places?
  • Next by Date: Re: [Q] same library in different places?
  • Previous by thread: [Q] same library in different places?
  • Next by thread: Re: [Q] same library in different places?
  • Index(es):
    • Date
    • Thread