From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-08-23 07:41:02
for quite some time, the <link-runtime>static option was broken on gcc. Some
investigation revelated that this options is not completely separate from
<link>static. If an application uses DLLs in some way, it should link to the
shared runtime (specifically, libc).
There's a email discussion between me and a libc maintainer that I base this
Based on that, I've modified gcc.jam so that it issues a reasonable error
message if the user tries to use <link-runtime>static with DLLs. If
everything's OK, the '-static' option is added. As the result, it's now
really possible to create all-static binaries on gcc with V2.
I've also removed the code which tries to distinguish between static and
shared searched library. I don't think that code was very robust or even
As usual, if my changes break something (which is not very likely, since the
property in question never worked), let me know.
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