
What syntax do I use to build both static and shared libraries? Is there a doc page anywhere that explains basic bjam command line syntax? I'm tired of having to ask stupid questions like this all the time. The Getting Started Guide contains too little info and, to me, the Boost Build reference documentation is completely unintelligible. --Johan

Johan Råde wrote:
What syntax do I use to build both static and shared libraries?
Is there a doc page anywhere that explains basic bjam command line syntax? I'm tired of having to ask stupid questions like this all the time. The Getting Started Guide contains too little info and, to me, the Boost Build reference documentation is completely unintelligible.
bjam --toolset=<your compiler> [debug|release] link=static|shared I also forget the syntax if I don't build any boost libs for a while :) -- Marko ICQ: 5990814 I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get.

What syntax do I use to build both static and shared libraries? build with the following option: --build-type=complete
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

Johan Råde wrote:
What syntax do I use to build both static and shared libraries?
Is there a doc page anywhere that explains basic bjam command line syntax? I'm tired of having to ask stupid questions like this all the time. The Getting Started Guide contains too little info and, to me, the Boost Build reference documentation is completely unintelligible.
Do you know about 'bjam --help'? And there is http://boost.org/doc/tools/build/doc/html/bbv2/advanced/builtins/features.ht... which lists all features that you might want to use on the command line. HTH, Markus

Markus Schöpflin wrote:
Johan Råde wrote:
What syntax do I use to build both static and shared libraries?
Is there a doc page anywhere that explains basic bjam command line syntax? I'm tired of having to ask stupid questions like this all the time. The Getting Started Guide contains too little info and, to me, the Boost Build reference documentation is completely unintelligible.
Do you know about 'bjam --help'? And there is http://boost.org/doc/tools/build/doc/html/bbv2/advanced/builtins/features.ht...
That page tells me that there is a feature called "link" that can have the values "shared" and "static". But it does not tell me that the correct syntax to get both is "link=shared|static". --Johan

Johan Råde wrote:
Markus Schöpflin wrote:
Johan Råde wrote:
What syntax do I use to build both static and shared libraries?
Is there a doc page anywhere that explains basic bjam command line syntax? I'm tired of having to ask stupid questions like this all the time. The Getting Started Guide contains too little info and, to me, the Boost Build reference documentation is completely unintelligible.
Do you know about 'bjam --help'? And there is http://boost.org/doc/tools/build/doc/html/bbv2/advanced/builtins/features.ht...
That page tells me that there is a feature called "link" that can have the values "shared" and "static". But it does not tell me that the correct syntax to get both is "link=shared|static".
http://boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html leads to http://boost.org/boost-build2/doc/html/bbv2/reference.html#bbv2.reference.in... which does describe the syntax. Other than merging the latter page into the former and eliminating one level of link, I don't see anything else that can be improved. Any suggestions? - Volodya
participants (5)
-
Igor R.
-
Johan Råde
-
Marko Bozikovic
-
Markus Schöpflin
-
Vladimir Prus