Boost logo

Boost-Build :

From: Arvid Norberg (arvid_at_[hidden])
Date: 2007-07-04 14:40:31


On Jul 4, 2007, at 09:56, Vladimir Prus wrote:

> On Wednesday 04 July 2007 20:33, Arvid Norberg wrote:
>> If I configure both gcc 3.3 and gcc 4.0 on darwin, building with gcc
>> 4.0 doesn't work. The problem is that in darwin.jam the followinf
>> code:
>>
>> local gccversion = [ SHELL "$(command) -dumpversion" ] ;
>> if $(gccversion) < "4.0.0"
>> {
>> flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ;
>> }
>>
>
> Can you try replacing that 'flags' line with:
>
> flags darwin.compile.c++ OPTIONS $(condition) : -fcoalesce-
> templates ;
>
> so that applies only to the specific version of compiler? If that
> works,
> I'll fix CVS.

Yes. That fixes the problem. Thanks!

--
Arvid Norberg

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