Boost logo

Boost :

Subject: Re: [boost] C++11 variant of the gcc toolset?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-12-14 10:50:55

On Dec 13, 2013, at 12:51 PM, Peter Dimov <lists_at_[hidden]> wrote:

> Currently, when I want to test under g++ in C++11 mode, I use
> b2 toolset=gcc cxxflags=-std=c++11
> This works, but (a) prevents me from combining this with other toolsets, (b) prevents me from testing both 03 and 11 at once, and (c) doesn't treat the two modes of the gcc toolset as distinct and uses the same directory for both.
> Am I missing something simple, or if not, shouldn't we have a separate gcc11 toolset that is exactly the same as the gcc toolset, but with -std=c++11 applied?

I have this in in user-config.jam:

using darwin : 11
        : "/Sources/gcc/gcc-4.8.2/bin/bin/g++"
        : <cxxflags>"-std=c++11"

And I just use:
        b2 toolset=darwin-11

— Marshall

Boost list run by bdawes at, gregod at, cpdaniel at, john at