Opened 13 years ago

Last modified 13 years ago

#3564 assigned Bugs

bjam creates wrong library name when toolset choice is invalid

Reported by: bielow@… Owned by: Vladimir Prus
Milestone: Boost 1.42.0 Component: Building Boost
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

Hi,

I just called boost using "bjam address-model=64 install --with-math link=static toolset=msvc-9 variant=debug" which creates libraries without any VC version number: --> libboost_math_tr1l-vc-mt-gd-1_40.lib which should be --> libboost_math_tr1l-vc90-mt-gd-1_40.lib

This leads to auto-linking errors. The documentation at multiple points simply states that appending the MSVC version number to the toolset will work, however the correct syntax for the call is: "toolset=msvc-9.0" and not "toolset=msvc-9" The documentation for valid numbers is somewhat hidden as well (http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.reference.tools.compiler.msvc). At least the toolset docu (http://www.boost.org/doc/libs/1_40_0/more/getting_started/windows.html#identify-your-toolset) could use the above link!

So, is it possible to introduce white-lists for the toolset options to avoid this kind of error?!

Change History (1)

comment:1 by Vladimir Prus, 13 years ago

Milestone: Boost 1.41.0Boost 1.42.0
Owner: set to Vladimir Prus
Status: newassigned
Note: See TracTickets for help on using tickets.