Subject: [Boost-bugs] [Boost C++ Libraries] #3564: bjam creates wrong library name when toolset choice is invalid
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-26 15:25:57
#3564: bjam creates wrong library name when toolset choice is invalid
-------------------------------------+--------------------------------------
Reporter: bielow@⦠| Owner:
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: Building Boost
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
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?!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3564> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC