From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-07-02 13:42:27
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).
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")
It might well be that I am missing something fundamentally.
Can anyone shed some light on this please?
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