Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link to libs in Xcode?



When compiling a single source code file using the cc or g++ command, if your program uses routines that require linking to a library, you must do so by adding an option to the command, such as -lncurses. Being an Xcode supporter, I would like to know how to link libraries to an Xcode project. Using Xcode, I can easily compile command-line tools that don't use routines from any library. But I would find it extremely useful to be able to use, say, the ncurses library in my project. Does anybody know how to do this? If so, please explain your answer to me.

Any help appreciated,
Danny
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.