Re: how to link shared library?
Re: how to link shared library?
- Subject: Re: how to link shared library?
- From: Scott Tooker <email@hidden>
- Date: Sat, 3 Jan 2004 13:12:09 -0800
Just add the library you want to link against to your target.
Scott
On Jan 3, 2004, at 10:48 AM, Bill So wrote:
> Dear All,
>
> I'm new to Xcode.
>
> I am writing an application using MySQL C API and need to link MySQL
> client library as a shared library.
>
> In gcc, I compile my test code using the following command:
>
> gcc -o mysqldemo mysqldemo.c -I/usr/include/mysql -L/usr/lib/mysql
> -lmysqlclient
>
> However, I don't know how to set the -lmysqlclient parameter in Xcode.
>
> Can you tell me how to?
>
> Thank you very much for your help.
>
> Happy New Year
>
> Yours,
> Bill
> _______________________________________________
> 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.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.