How do I convince bjam to build multi-threaded libraries?
I'm not getting the "=mt" version of the library I'm building. When I run bjam, it just doesn't build the "-mt" versions. I *think* it did in the past, I just don't know how I convinced it to do so. A cursory look at the "getting started" page didn't reveal the answer. Do I just need to look more closely? Any pointers appreciated. Here's what I do: Download windows bjam.exe to boost directory. open command prompt. cd to libs\log\build call vcvars32.bat call ..\..\..\bjam Thanks Andrew
Andrew Schweitzer wrote:
I'm not getting the "=mt" version of the library I'm building. When I run bjam, it just doesn't build the "-mt" versions. I *think* it did in the past, I just don't know how I convinced it to do so.
A cursory look at the "getting started" page didn't reveal the answer. Do I just need to look more closely? Any pointers appreciated.
Here's what I do: Download windows bjam.exe to boost directory. open command prompt. cd to libs\log\build
That's not a Boost library. What are you trying to build? What gets built by default depends on what's in the Jamfile for the library (libs\log\build\Jamfile in this case). So it's up the author of the library and you might consider bringing it up directly with the author. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
try
bjam threading=multi
"Andrew Schweitzer"
I'm not getting the "=mt" version of the library I'm building. When I run bjam, it just doesn't build the "-mt" versions. I *think* it did in the past, I just don't know how I convinced it to do so.
A cursory look at the "getting started" page didn't reveal the answer. Do I just need to look more closely? Any pointers appreciated.
Here's what I do: Download windows bjam.exe to boost directory. open command prompt. cd to libs\log\build call vcvars32.bat call ..\..\..\bjam
Thanks
Andrew
"ycc"
try bjam threading=multi
That's a v2-ism. The command you want is: bjam "-sBUILD=<threading>multi" ...
"Andrew Schweitzer"
wrote in message news:de3edd$ghb$1@sea.gmane.org... I'm not getting the "=mt" version of the library I'm building. When I run bjam, it just doesn't build the "-mt" versions. I *think* it did in the past, I just don't know how I convinced it to do so.
A cursory look at the "getting started" page didn't reveal the answer. Do I just need to look more closely? Any pointers appreciated.
Here's what I do: Download windows bjam.exe to boost directory. open command prompt. cd to libs\log\build call vcvars32.bat call ..\..\..\bjam
-- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (4)
-
Andrew Schweitzer
-
David Abrahams
-
Rene Rivera
-
ycc