Re: ZeroLink.dylib
Re: ZeroLink.dylib
- Subject: Re: ZeroLink.dylib
- From: Diego Rey <email@hidden>
- Date: Fri, 19 Dec 2003 21:09:46 -0300
On 12/19/03 7:30 PM, "Daniel Shiffman" <email@hidden> wrote:
> Dear folks,
>
> I'm new to the list and have a question -- I have a simple xcode project
> (one C source) file that compiles and runs just fine on my machine, but if I
> try to execute it on another mac, it appears to be looking for a dynamic
> library (libstdc++_ZeroLink.dylib in the project build folder) using an
> absolute path from my machine.
>
> I've been looking at options and trying to figure out about changing the
> path, etc. but have run into a wall. . .
>
> Can anyone offer any help?
>
> Best,
> Dan
> _______________________________________________
> 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.
>
ZeroLink is a special feature in Xcode for dynamically linking libraries.
Any code you compile to run in another box should have it disabled. The
easiest way to achieve this is:
1 - Open your project.
2 - Look for the "Groups & Files" section of your main poject window and
right/control click on your project icon.
3 - In the popup menu, choose "Get info"
4 - Go to the styles tab.
5 - Make sure that "Zero Link" is not enabled.
6 - Compile again.
Please keep in mind that you probably should use the "Deployment" building
style if you are going to release your program to other people. To do so
just repeat steps 1 to 4 and then:
5 - In "Active Building Style" choose "Deployment"
6 - Make sure Zero Link is off.
7 - Compile again.
Making wise use of building styles is a really nice feature of Xcode. My
suggestion is that you look for information of what each setting does. Just
make sure you do that on a backup copy of your project tho = )
Diego Rey
_______________________________________________
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.