Boost logo

Boost Users :

Subject: Re: [Boost-users] Build boost on OSX 10.9 with GCC 4.8
From: Nat Goodspeed (nat_at_[hidden])
Date: 2014-04-15 19:33:57


On Tue, Apr 15, 2014 at 4:10 PM, Jürgen Simon <simon_at_[hidden]> wrote:

> I have a somewhat specific problem. I need to build Boost 1.55 with the GCC
> 4.8 compiler on the mac. I have installed gcc-4.8 using homebrew.

I have a somewhat comparable situation. I'm running OS X 10.7.5 and
have installed gcc 4.7 from MacPorts.

I appended this line to my ~/user-config.jam:

using darwin : 4.7 : /opt/local/bin/c++-mp-4.7 : <compileflags>-std=c++11 ;

and I invoke b2 with toolset=darwin-4.7.

I found that 'darwin' seems to work better than 'gcc' because it
better understands the linker flags for this platform.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net