Boost logo

Boost-Build :

From: Arvid Norberg (arvid_at_[hidden])
Date: 2007-07-04 12:33:00


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 ;
     }

Is executed when both 3.3 and 4.0 is initialized, and when 3.3 is
initialized that flag is added to the c++ build options, and used
when building with both versions. (version 4 and above doesn't accept
that option)

My user-config.jam looks like this:

using darwin : 3.3 : g++-3.3 ;
using darwin : 4.0 : g++-4.0 ;

--
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