Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-07-04 12:56:51


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.

- Volodya


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