Menu

Newbie Help

Help
Anonymous
2000-12-31
2001-01-03
  • Anonymous

    Anonymous - 2000-12-31

    Perhaps someone can tell me how to figure out what libraries I need to link with when using certain parts of CommonC++?

    More to the point, how can I tell what specific library to link with for any project involving thrid-party libraries where I'm only using a part of the functionality the development package provides or need to figure out what other libraries to link with to support dependencies of the library I'm linking with?

    I'm new to doing development using third-party libraries so this would be very helpful.

    I have been doing something like:

      nm -o `ls /lib` 2>/dev/null | grep "symbol-name"

    to find possible libraries to link with.  Is there an easier way?

    Thanks,

    Kevin

     
    • David Sugar

      David Sugar - 2001-01-03

      The "ccgnu-config" script can be used to report the correct compile flags and link options for your application.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.