Boost logo

Boost-Build :

Subject: Re: [Boost-build] Use of alias to not build a toolset is not working
From: Edward Diener (eldiener_at_[hidden])
Date: 2012-11-04 14:53:58


On 11/3/2012 1:52 PM, Steven Watanabe wrote:
> AMDG
>
> On 11/03/2012 09:18 AM, Edward Diener wrote:
>>
>> If you see <toolset>gcc-3.4.5 in an alias such as:
>>
>> alias ttivm16 : :
>> <toolset>gcc-3.4.5
>> ;
>>
>> why is it not enough to know that if the invocation is:
>>
>> bjam toolset=gcc-3.4.5 ttivm16
>>
>> nothing is built without having to know whether gcc --version is going
>> to be 3.4.5 ? Even if you decide to require that gcc --version still
>> produce 3.4.5, which I surmise is normally the case when bjam is invoked
>> with that toolset, I still do not understand the problem as opposed to
>> the successful <toolset>gcc <toolset-gcc:version>3.4.5 .
>>
>> I will take your word for it that the problem exists in the Boost build
>> system but logically it seems it should not.
>>
>
> The problem is that the way the features are
> represented gets in the way for this particular
> comparison. It makes sense logically, but actually
> implementing it is non-trivial.

Thanks for helping out !

For the sake of a consistent syntax I think that
'<toolset>gcc-3.4.5' ( and its like ) should be valid everywhere
specifying a toolset is valid.


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