|
Boost-Build : |
From: Andrei Melnikov (andy.melnikov_at_[hidden])
Date: 2006-06-29 18:26:24
On 27/06/06, Caroline Rogers <crg_at_[hidden]> wrote:
> Hello,
>
> I have successfully built Boost using the command:
> bjam.exe "-sVC71_ROOT=c:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7" stage
>
> This creates the four thread libraries (libboost_thread-vc71-mt-s-1_32.lib,
> libboost_thread-vc71-mt-s.lib, libboost_thread-vc71-mt-sgd.lib and
> libboost_thread-vc71-mt-sgd-&_32.lib) which all have a -s tag, however the
> library I am looking for is libboost_thread-vc71-mt-1_32.lib (without the -s
> flag).
>
> I believe that the -s flag stands for "Static link to runtime" and that
> there are some issues to do with static linking to the thread library on
> Windows. However, I still haven't figured out how to create this library
> file without the -s.
>
Use -sBUILD="<runtime-link>dynamic" to build with dynamic runtime
library linked in.
Andrei
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