Boost logo

Boost-Build :

Subject: Re: [Boost-build] Toolset names and target alternatives
From: Matthew Chambers (matt.chambers42_at_[hidden])
Date: 2011-07-14 16:15:03


On 7/14/2011 2:45 PM, Gevorg Voskanyan wrote:
> Edward Diener wrote:
>
>> Please consider treating<toolset>gcc-4 as all versions which start with gcc-4
>> such as gcc-4.3.0, gcc-4.4.0 etc. Also<toolset>gcc-4.5 should mean all version
>> of gcc which start with gcc-4.5 such as gcc-4.5.0, gcc-4.5.2 etc.
>>
>> This ability to represent more than one version via a partial version
>> identifier would be welcome in Boost Build.
>
> I'm afraid that may not adequately solve your problem as -std=c++0x option is
> only available from gcc 4.3 onwards.

A BB rule that allowed comparing multi-dotted versions (with varying numbers of dots) would be
handy. 4.3 == 4.3.0 == 4.3.0.0 > 4 > 3.91.9 > 3.9.9

But it'd best be called from a <conditional>.

-Matt


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