Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-02-23 03:41:48


The "Autoconfigure" code in build-system.jam has the behaviour to strip the
version apart from the toolset. The code strips everything to the right of the
first hyphen to be the version.

I.e.:
         local (t-v,t,v) = [ MATCH (([^-/]+)-?([^/]+)?)/?.* : $(t) ] ;

This has the consequence, that it is impossible to put subfeatures into build
requests on the commandline:

bjam toolset=gcc-3.4.4-mingw

tries to register a new version of the gcc toolset instead of recognizing it as
a subfeature (i.e. flavor) of the gcc toolset.

The following request (which skips the autoconfigure) instead works:

bjam gcc-3.4.4-mingw

Is this by intent or is it a bug?

Roland


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk