Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-06-28 04:15:10


Hi all,

Sorry for the repeated noise on this one, but I haven't had
a reply (apart from Hartmut who pointed me in the right
direction to the solution).

At the moment, there are two problems with:

   bjam install msvc-7.1 link=static,shared

(1) The <rtti> feature isn't included in <tag> names, so
Boost.Wave/FileSystem produce duplicate target errors.

(2) The <link>shared feature generates a LIB target that
clashes with the LIB from <link>static, again producing
duplicate target errors.

This needs fixing for 1.34.0! I have attached a patch that
fixes the problem, but I would like to know that this is the
right fix and that I haven't missed anything obvious.

For issue (1), I am adding an 'r' for rtti=on. Given:

   bjam install msvc-7.1 rtti=on

this will produce:

   boost_filesystem-vc7_1-gd-r.lib
   boost_filesystem-vc7_1-gd.lib
   boost_wave-vc7_1-gd.lib

For issue (2) I am now adding an 'i' instead of '-imp'
for the import LIB files. Given:

   bjam install msvc-7.1 link=static,shared

this will produce:

   boost_filesystem-vc7_1-gd-r.lib
   boost_filesystem-vc7_1-gd-ir.lib
   boost_filesystem-vc7_1-gd-r.dll

- Reece
_________________________________________________________________
Try Live.com: where your online world comes together - with news, sports, weather, and much more.
http://www.live.com/getstarted



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