Boost logo

Boost Users :

From: Yongwei Wu (wuyongwei_at_[hidden])
Date: 2007-09-19 05:55:01


On 19/09/2007, John Maddock wrote:
> Yongwei Wu wrote:
> > I see no reason why the DLL build of STLport (stlport_vc71_stldebug.
> > lib) should be referenced in a static build of Boost.Regex
> > (libboost_regex-vc71-mt-sgdp-1_34_1.lib).
>
> Or no reason why not either: you can use the STLport dll as long as
> you are using a dll runtime. You can likewise use either the static
> or dll regex lib with a dll runtime.

The suffix "-s" suggests it should be linked "statically to the C++
standard library and compiler runtime support libraries". That is
reason why it is selected automatically by "/MTd".

> > I am not familiar with bjam enough to investigate further. Any
> > help is appreciated.
>
> It looks like stlport.jam is forcing _STLP_USE_DYNAMIC_LIB on for
> some reason, I'll post a message on the Boost.Build list about this,
> since I don't understand BBv2's internals either !

Thanks!

Best regards,

Yongwei

-- 
Wu Yongwei
URL: http://wyw.dcweb.cn/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net