Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-02 02:48:03


On Wednesday 01 June 2005 18:04, Daniel Heck wrote:
> Vladimir,
>
> > + local JAMUNAME = [ modules.peek : JAMUNAME ] ;
> > +
> > + # GCC 4.0, the default compiler in Darwin 8.0.0, does not have
> > + # -fcoalesce-templates. GCC 3.3 needs it. So, we add
> > '-fcoalesce-templates' + # is either:
> > + #
> > + # 1. We're not on 10.4
> > + # 2. We're on 10.4 and compiler is not g++-3.3
> > + if $(JAMUNAME[3]) < "8.0.0" || ! [ "(g[+][+]-3.3)" : $(command) ]
> > + {
> > + flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ;
> > + }
> > +
> > gcc.init-link-flags darwin darwin $(condition) ;
> > }
>
> There's at least two problems with this patch:
>
> 1) the call to MATCH is missing
> 2) it should be "|| [ MATCH " ...

Oops! Guess that was too late in the evening.

>
> > + if $(JAMUNAME[3]) < "8.0.0" || [ MATCH "(g[+][+]-3.3)" : $(command)
> > ]
>
> with this edited patch, compilation works on Tiger.

Thanks, I've applied and committed your modifications.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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