Re: Question about dynamic and static libraries
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