Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-05-26 09:43:14


On Thu, May 26, 2005 at 10:05:31AM +0400, Vladimir Prus wrote:
>
> I don't think in V2's darwin.jam, the .GXX variable has any value at all ;-)
> I also don't understand thie logic -- do we add -fcoalesce-templates when
> - OS version is less than 8.0 (reasonable), and
> - Compiler name is not "g++".

Yes, because with MacOS X 10.4, there are multiple compiler binaries installed.
g++ == gcc 4.0 (does not have -fcoalesce-templates)
g++-3.3 == gcc 3.3 (has -fcoalesce-templates)

Well, I just stole the logic from BBv1, if there is a better way to
do it, then let's do it. For example, if you can do something
like assign the value of:
gcc -dumpversion

to a variable, and then parse it, in order to determine
the gcc version, that would be cool.

-- 
Craig Rodrigues 
rodrigc_at_[hidden]
 

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