14 Dec
2013
14 Dec
'13
3:50 p.m.
On Dec 13, 2013, at 12:51 PM, Peter Dimov
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) boost.build 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