Re: More info on dylibs?
Re: More info on dylibs?
- Subject: Re: More info on dylibs?
- From: Eric Albert <email@hidden>
- Date: Thu, 18 Dec 2003 14:19:46 -0800
On Dec 18, 2003, at 2:12 PM, jason rusoff wrote:
Eric,
I saw your explanation of the -dylib option on xcode-users and thought
you might be able to give me the lowdown on how dylibs are located at
launch. My question is this. Where exactly is the @executable_path set
when a plugin to an app is launched? Is it the path to my executable
inside my bundle or is it the app's executable?
I think it's the path to the application's executable.
Also, do you know of a way to set the working directory for a bundle
in PB. I see it when I have an executable, but not when I am building
a bundle.
I don't know; I've never had to do that. But it's not a great idea to
use PB's working directory setting in any case because the working
directory can change based on how your application was launched. You
should always reference files relative to the application's path (e.g.
the location of the main bundle) or via FindFolder or an absolute path,
rather than depending on the working directory being set to a
particular value.
-Eric
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.