Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-07-02 04:37:20


Rene Rivera wrote:
> It's yet another discrepancy between the BBv1 and BBv2 build files.
> Which I guess I'll have to fix. Incidentally I had also just noticed
> that problem when I was trying to solve the first discrepancy :-)

BBv2 also chokes when doing:

   bjam --v2 install msvc-7.1 link=static,shared

I have posted this (with a proposed solution several times), but haven't
had a response. The problem is two-fold:

(1) The stage.jam tag rule doesn't propagate the <rtti> option which
Boost.Wave turns of, causing a duplicate target for Boost.FileSystem.
Adding 'r' for rtti=on solves this issue. This will produce:

   boost_filesystem-vc71-gd-r.lib
   boost_filesystem-vc71-gd.lib

(2) Again in the stage rule, link=shared generates an IMPORT_LIB
target that conflicts with the STATIC_LIB target generated by
link=static. Adding 'i' or '-imp' for IMPORT_LIB fixes this issue.
This will produce (with rtti=on above):

   boost_filesystem-vc71-gd-ri.lib
   boost_filesystem-vc71-gd-r.dll

or

   boost_filesystem-vc71-gd-r-imp.lib
   boost_filesystem-vc71-gd-r.dll

However, before committing the patch (available from by "bjam
install issues" post) I want to see if this is the right solution.

- Reece
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk