Boost logo

Boost-Build :

Subject: Re: [Boost-build] Support for GCC 4.2 on darwin
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-08 21:43:44


AMDG

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-templates"
>
> 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)?

In Christ,
Steven Watanabe


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