how to compile first.cpp example

Hello, I try to compile first.cpp with bjam, but I don't know ho to specify the program_options library. I have a binary release of the boost library (Linux Kubuntu). I'm looking for a good Jamfile. Thanks for your help.

Why do you need a Jamfile? This work just fine for me: c++ -o first first.cpp -lboost_program_options (I am on fedora core 5 and it comes with a binary release of the boost library as well - of course c++ is just g++ in a different name). francis wrote:
Hello, I try to compile first.cpp with bjam, but I don't know ho to specify the program_options library. I have a binary release of the boost library (Linux Kubuntu). I'm looking for a good Jamfile.
Thanks for your help.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hin-Tak Leung a écrit :
Why do you need a Jamfile? This work just fine for me:
c++ -o first first.cpp -lboost_program_options
(I am on fedora core 5 and it comes with a binary release of the boost library as well - of course c++ is just g++ in a different name).
francis wrote:
Hello, I try to compile first.cpp with bjam, but I don't know ho to specify the program_options library. I have a binary release of the boost library (Linux Kubuntu). I'm looking for a good Jamfile.
Thanks for your help.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
I know, but I would like tu use bjam and a Jamfile.
participants (2)
-
francis
-
Hin-Tak Leung