Is bjam v2 usable with cygwin gcc?
I would like to be able to build quickbook under cygwin (as all of my existing Boostbook setup is cygwin based), but I'm running up against no end of issues:
bjam --v2 won't link quickbook (lots of duplicate symbol errors), I found some information on the cause here: http://root.cern.ch/phpBB2/viewtopic.php?t=1696&highlight=& and seems we're currently doing just about everything wrong, we need:
-Wl,--enable-runtime-pseudo-reloc -Wl,--export-all-symbols [all objects] -Wl,--enable-auto-import
on the link command line, and apparently cygwin won't link with dll's which don't end in ".dll" either - currently it's linking against a dll that has Boost's version number encoded in *both* the name, and as a suffix, why does this need to appear twice like this?
Finally, since Boost.Test can't be used as a dll on Windows at all (and a few other platforms like Darwin I believe), all the tests that depend upon Boost.Test fail as well.
I tried building with:
bjam --v2 runtime-link=static
as the docs suggest, but all I got was bjam internal errors saying that "runtime-link" was not a known feature.
Is there a way to build and use static libraries, while still linking against the dll runtime? If not there certainly should be, this is a very common build situation IMO (on Windows in any case).
Thanks, in advance,
John.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
