Boost logo

Boost-Build :

Subject: Re: [Boost-build] build/test on mac os
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-21 19:59:40


On 03/21/2015 05:24 PM, Robert Ramey wrote:
> I'm trying to build and test the serialization library on my mac os system
> with yosmite installed. I'm using the command line as
> ../../../tools/regression/src/ toolset=darwin-4.8
> cxxflags=-std=c++03 variant=debug link=static >b2.log &
> and my user_config.jam contains
> using darwin : 4.8.1 : /usr/local/bin/g++ : -I/usr/local/include/c++/4.8.1
> <cxxflags>"-std=c++11" ;
> Things seem to work. Except that whenever the executable throws an
> exception, it isn't caught and terminate is just called.

There is a catch statement, right?

> I couple of months
> ago I had this working but I can't figure out what the problem is now. I'm
> noticing that I have conflicting std= flags - it's not clear what boost
> build does in this case. I'll experiment with this. But in the meantime any
> help would be appreciated.

If you want to see what Boost.Build does, the easiest way is

b2 -a -n <options> name_of_one_test_target

-a = rebuild all
-n = don't run anything, just print the commands

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at