List Info

Thread: bjam install issues (and fix!)




bjam install issues (and fix!)
user name
2006-06-28 08: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_____
__________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )