Boost logo

Boost-Build :

Subject: Re: [Boost-build] Support for GCC 4.2 on darwin
From: Ian Emmons (iemmons_at_[hidden])
Date: 2009-01-09 08:37:09

I am using darwin as my tool set, with the following definition in

     using darwin : 4.0 ;



On Jan 9, 2009, at 7:04 AM, Sebastian Hauer wrote:

Hello Ian,

On Thu, Jan 8, 2009 at 6:04 PM, Ian Emmons <iemmons_at_[hidden]> 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"

You probably have gcc defined as your toolset, on the mac you have to
set darwin as your toolset, e.g.:
bjam --toolset=darwin

This should prevent passing these kind of invalid options to apples
version of gcc.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at