From: David Abrahams (dave_at_[hidden])
Date: 2003-03-21 19:14:55
"Powell, Gary" <powellg_at_[hidden]> writes:
> What is the bjam control flag for making static vs shared libraries?
There is none. Each library specifies individually whether it has
shared and/or static products.
> I tried
> bjam "-sBUILD=release/<instruction-set>pentiumpro<link>static"
This is wrong------------------------------------^^^^^^^^^^^^
There is no <link> feature in Boost.Build v1, and even if there were,
you'd need a slash.
> but it still made an .so (shared) library.
Which library were you building? I'm guessing Boost.Threads because
it conspicuously doesn't have a static build on Windows (you can't do
TLS without a DLL).
> And is it possible to build a debug version that doesn't use the
> debug Stlport?
> (I'm working on building the gcc-stlport version.)
Yes, you want to put <runtime-build>release in your BUILD properties:
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk