Re: static and dynamic linking
Re: static and dynamic linking
- Subject: Re: static and dynamic linking
- From: Steve Checkoway <email@hidden>
- Date: Mon, 17 Nov 2008 19:38:14 -0800
On Mon, Nov 17, 2008 at 07:24:45PM -0800, Kevin Dixon wrote:
> Is there any way to specify and/or force Xcode (I'm using 2.4 btw) to
Is there some reason not to use 2.5?
> I put a reference to the ".a" file into my project, because I don't want
> the hassle of distributing extra files with my application. To my
> surprise, it built dynamically linking against the file. It wasn't until
> I moved the .dylib files out of the same folder that it linked
> statically properly. This seems like a bit of a hack. Any advise?
This has come up a number of times on this list. A search of the
archives will yield a number of solutions. One is to move the dylib
out of the way, another is to put the full path to the library into
whatever the Xcode equivalent of LDFLAGS (Additional Linker Flags
maybe?) is. See the archive for more details.
--
Steve Checkoway
_______________________________________________
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