Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
how to link shared library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to link shared library?

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

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

xcode-users mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.