• 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: Question about dynamic and static libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about dynamic and static libraries


  • Subject: Re: Question about dynamic and static libraries
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Thu, 29 Dec 2005 00:33:57 +0000


On Dec 29, 2005, at 12:00 AM, Steve Checkoway wrote:

Things aren't always this cut and dry. For one thing, making a dynamic library out of it isn't usually feasible since mach-o's use of dynamic libraries leaves a lot to be desired. I'm referring to the install name of a library being required to be compiled into the application. If you want to distribute your application, not only do you have to distribute the dynamic library with it but also install it in the same location.

Look for @executable_path/ and @loader_path/ in the documentation, you can install dynamic libraries at paths relative to the application (or with Mac OS X 10.4 and later, relative to each other) using these as part of the install_name.


Peter

_______________________________________________
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: Question about dynamic and static libraries
      • From: Steve Checkoway <email@hidden>
References: 
 >Re: Question about dynamic and static libraries (From: Bill Northcott <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Question about dynamic and static libraries
  • Next by Date: Re: Question about dynamic and static libraries
  • Previous by thread: Re: Question about dynamic and static libraries
  • Next by thread: Re: Question about dynamic and static libraries
  • Index(es):
    • Date
    • Thread