Re: [boost] [RC_1_34_0] MSVC 8.0 link looking for lib*

Rene Rivera wrote:
Reece Dunn wrote:
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.
Yea, noticed :-) Just hadn't had a chance to think about it yet.
No worries, I was just ensuring that it didn't get lost.
(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
I don't think this is the right solution for this problem. Although it might be a solution for people who turn off rtti overall. If I remember from previous discussions we don't want to encourage turning off what are supposed to be standard features of the language. And for that matter have to test such variants. There's also the problem of changing the auto-link code to account for these new names. So it's not just a matter of changing the jam code. That means that since we are not adding new features to code anymore we can't change the auto-link code to account for those new names.
I agree.
Personally I think turning off rtti for the whole wave library to workaround a vc71 bug is the wrong solution, read that as it's a kludge. So I would consider it a bug in wave that needs to get fixed.
Something needs to be done, because BBv2 is choking when installing for msvc-7.1. Also, there is nothing (apart from BBv2 generating a duplicate target error ;)) stopping someone from saying: bjam --v2 install msvc-7.1 rtti=on,off I agree with what you are saying above about auto-link, testing, etc., however the BBv2 toolset doesn't stop a user from doing this. How does BBv1 solve this with respect to wave/filesystem? Can you install both rtti-on and rtti-off with BBv1? If you can, this needs to be supported in V2. I don't have any answers for this :(.
(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 I will fix by making it behave as BBv1 does, and what is documented, and what the auto-link code expects of using the "lib" prefix.
Great! - Reece _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-491...

Reece Dunn wrote:
Something needs to be done, because BBv2 is choking when installing for msvc-7.1. Also, there is nothing (apart from BBv2 generating a duplicate target error ;)) stopping someone from saying:
bjam --v2 install msvc-7.1 rtti=on,off
I agree with what you are saying above about auto-link, testing, etc., however the BBv2 toolset doesn't stop a user from doing this. How does BBv1 solve this with respect to wave/filesystem?
If I remember correctly it would only install the non-rtti version regardless of what the user asked for. BBv2 doesn't do that it will blindly try to build everything the user asks for and not fail gracefully, by erroring and exiting instead of warning and not building.
Can you install both rtti-on and rtti-off with BBv1?
Yes, but not for wave.
If you can, this needs to be supported in V2.
Yes, and it's something I've brought up in the build list without any resolution.
I don't have any answers for this :(.
See my other post for the wave specific answer. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Reece Dunn wrote:
Rene Rivera wrote:
Reece Dunn wrote:
(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 I will fix by making it behave as BBv1 does, and what is documented, and what the auto-link code expects of using the "lib" prefix.
Great!
Now fixed. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

On 7/3/06, Rene Rivera <grafikrobot@gmail.com> wrote:
Now fixed.
Confirmed on MSVC 8.0 x86. :) -- Dean Michael C. Berris C/C++ Software Architect Orange and Bronze Software Labs http://3w-agility.blogspot.com/ http://cplusplus-soup.blogspot.com/ Mobile: +639287291459 Email: dean [at] orangeandbronze [dot] com
participants (3)
-
Dean Michael Berris
-
Reece Dunn
-
Rene Rivera