Boost logo

Boost-Build :

Subject: Re: [Boost-build] Support for GCC 4.2 on darwin
From: Sebastian Hauer (sebastian.hauer_at_[hidden])
Date: 2009-01-09 07:04:15


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.

Regards,
Sebastian


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