Boost logo

Boost-Build :

Subject: Re: [Boost-build] Difference between toolset=darwin-4.5 & toolset=gcc-4.5 when building boost on OSX
From: Bioxydyn Dev (bioxydyn.dev_at_[hidden])
Date: 2013-08-20 10:07:51


On Tue, Aug 20, 2013 at 2:58 PM, Ian Emmons <ian_at_[hidden]>wrote:

> Joe,
>
> I'm afraid that I can't directly answer your question, but one question
> about your issues looms large: Why are you installing your own GCC?
>
> One possible answer is that you simply want a newer compiler. If that is
> indeed your situation, you should try "toolset=clang", which is Apple's
> newest and best compiler. (The darwin toolset, based on GCC 4.2 is
> currently maintained by Apple only for backwards compatibility.) Clang is,
> in my experience, an outstanding compiler and it has some of the most
> up-to-date support for C++11 available anywhere.
>
> If your reason for using GCC 4.5 is something else, then I'm afraid you'll
> need help from some of the Boost.Build gurus themselves.
>
> -Ian
>

Hi Ian,

Thanks for your response.

I'm a complete newbie when it comes to Macs and OSX so I may have
approached this all wrong. I just wanted to build the latest version of
boost with the latest version of gcc so I can use C++11 features. I never
realised it would be so difficult.

I installed gcc-4.8 for that reason. Are you saying that I shouldn't have
installed gcc but clang instead?

Can I install clang using homebrew?

regards

Joe

> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



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