Subject: Re: [Boost-build] Support for GCC 4.2 on darwin
From: Ian Emmons (iemmons_at_[hidden])
Date: 2009-01-09 09:32:09
Thanks for your help. I inserted the following line just before line
122 (in the version of boost.build that ships with boost 1.37.0):
ECHO TRACE $(version) ;
When I invoked bjam, this line printed twice:
My user-config.jam contains the following:
It would appear that the condition "4.0" < "4.0.0" evaluates to true,
when we (or at least I) would like it to evaluate to false. Should I
specify the versions in user-config.jam with all three version
segments? If I do so (changing 4.0 and 4.2 to 4.0.1 and 4.2.1
respectively), then the compilation succeeds with both versions of the
So, I guess I have my workaround. I'll leave it to you to decide
whether the condition "4.0" < "4.0.0" should evaluate as true or false
(and therefore whether there is a bug here or not).
On Jan 8, 2009, at 9:43 PM, Steven Watanabe wrote:
Ian Emmons wrote:
> I am using bjam 3.1.17 on MacOS 10.5.6, and when I try to use the
> GCC 4.2 compiler installed by Xcode (Apple's development
> environment), it gives me this error:
> cc1plus: error: unrecognized command line option "-Wno-long-double"
> This happens whether I am using the version of boost.build that is
> bundled with boost 1.37.0 or the version that is current on the
> boost.build web site.
> A similar problem occurs when I use bjam 3.1.17 on MacOS 10.5.6 with
> the GCC 4.0 compiler. In this case the error message is this:
> cc1plus: error: unrecognized command line option "-fcoalesce-
> This does not happen with the version of boost.build that is current
> on the boost.build web site, but it does happen when I am using the
> version that is bundled with boost 1.37.0 (which I understand is the
> newer version).
darwin.jam line 122 has a test to prevent this.
Can you check the value of $(version)?
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