Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-25 01:09:22


On Tuesday 24 May 2005 19:31, Craig Rodrigues wrote:
> Hi,
>
> Is anyone out there actively using
> MacOS X 10.4 (Tiger) and BBv2?
>
> I just got access to a 10.4 box,
> and when I tried to use
> BBv2 with the darwin.jam toolset configured,
> I got compilation errors because the compiler flag
> -fcoalesce-templates was removed in the GCC 4.0
> which comes with 10.4.
>
> How do people typically work around these BBv2 problems
> with Mac? g++-3.3 which comes with 10.4 (and older
> MacOS X releases) still supports that flag.

IIRC, V1 has had this problem recently, and now has:

if ! [ MATCH "(g[+][+])" : $(.GXX) ]
{
flags darwin C++FLAGS : -fcoalesce-templates ;
}

I guess the idea is to add "-fcoalesce-templates" only if compiler name is not
g++-4.0? Can anybody clarify?

- 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