From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-04 08:00:49
On Sunday 02 July 2006 21:42, Roland Schwarz wrote:
> Sorry for double posting this issue, but the original place:
> "Re: [Boost-build] Simple bjam question: linking in boost libraries?"
> possibly gets overlooked by the one who could answer this.
> When used on an exe target the <runtime-link>static property means on
> windows: Link with the static C-runtime lib.
> On Linux the same means to change the behavior of the linker switch
> "-l" to cause it to link in the static versions of _all_ the specified
> libraries (including C-runtime).
On Linux, you can't just link to static runtime. If your program links to any
dynamic library, it will require dynamic runtime.
> The problem now is with the "s" tag of the boost libraries:
> On windows this means I need to link with
> e.g. libboost_thread-vc71-mt-s.lib while on Linux
> libboost_thread-gcc-mt.a (without the "s")
I'm sorry, I don't understand you. Can you explain?
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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