Re: [Cppcms-users] linking libraries (Re: Starting with DbiXX
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2010-07-15 05:21:52
|
Hi Daniel, On Thursday 15 July 2010 08:59:05 am Daniel Vallejos wrote: > I recommend > > http://www.network-theory.co.uk/docs/gccintro/index.html > > Specially the sections: > > 2.7 Linking with external libraries > 11 How the compiler works. Woah! That's exactly what I was missing. :) I've already spent the last few hours reading it (slowly) starting from the very beginning. I'll study it throughout carefully. > Also note that -L flag is for directories that contains statics > libraries (.a) or dynamic libraries (.so "shared object"). Not for > headers files (-L/usr/local/include/dbixx/dbixx.h). I had the feeling I was doing something wrong... Thanks for correcting me. > When you fully understand how the preprocessor, the compiler and linker > works, the next step is learning to use a build system such as cmake. > This save a lot of time. Yep. That's one of the first things on my TODO list. I've made a small start already. > And finally, the next step is use a IDE. I > strongly recommend kdevelop 4. All these years, I've been using vim to code in PHP. I liked it enough. Someone recently recommended Eclipse Helios (on the Drupal devel list). I tried it a bit but found it too heavy. I remember having tried kdevelop 3, a few years ago, but it was not stable then and back then I was not yet committed to any serious C++ project. I think I'll follow your advice and give kdevelop 4 another try as soon as I am more familiar with the basics of C++ programming. I am a fan of KDE in general (using Kubuntu), so kdevelop should be a natural choice, now. Thanks again for your most useful pointers. Blessings, Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |