Menu

compilation problem

Help
April Lim
2001-09-13
2001-09-25
  • April Lim

    April Lim - 2001-09-13

    Hi all,

    I need help urgently.

    I have configure and install common c++ in my Linux system as followS:
    1) "./configure --prefix=/home/me/common" and "make install" is run at /home/me/software/CommonC++1.1.5/
    2) then, "make" is run at /home/me/software/CommonC++1.1.5/demo/

    Now, I created my own program using common c++ library at /home/me/myProgram/
    How do I compile my program using g++???

    Is it possible for me to copy include files and library from common c++ to this directory /home/me/myProgram/ and compile my program???

    thanks.

    regards,
    April

     
    • David Sugar

      David Sugar - 2001-09-25

      You need to use ccgnu-config to get the correct compiler options and link flags to use.  This can be done with something simple like:

      g++ `ccgnu-config --flags` mysource.cpp

       

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.