Re: Xcode - Other Linker
Re: Xcode - Other Linker
- Subject: Re: Xcode - Other Linker
- From: Drew McCormack <email@hidden>
- Date: Fri, 14 Nov 2003 11:18:21 +0100
On Nov 13, 2003, at 6:32 PM, Kent Glenn wrote:
Under PB I use to put my lib I wanted to statically link in under
"Linker Settings/Other Mach-O Linker Flags". I would have something
like this: /usr/local/lib/libsqlite.a
Now under Xcode, I can't figure out how to accomplish the same thing. I
did a "Info" on the target and found the build settings. I even found
"Other linker flags" under the build tab. I tried just putting the lib
to link in, but that didn't work. I thought maybe this needed to pass
flags off to ld, so I tried "-lsqlite" and "-llibsqlite.a", but neither
one worked. I even tried to put "-L/usr/local/lib/" for the lib path,
but that didn't help.
Any ideas? Am I going about this the wrong way?
Can't you just add the static library to you project? Just select 'Add
Framework..." from the "Project" menu, and select the libsqlite.a. The
rest should be handled by Xcode.
Drew
_______________________________________________
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.