Boost logo

Boost-Build :

Subject: [Boost-build] clang trunk and -mthreads
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-10-02 16:47:29

I use b2 from trunk with clang from trunk under cygwin. I just rebuilt
clang from trunk, and found it no longer works with trunk b2 because of

clang: error: unknown argument: '-mthreads'

  "/usr/local/clang-trunk/bin/clang++" -c -x c++ -std=gnu++11 -O0 -g
-fno-inline -Wall -g -mthreads -DBOOST_FILESYSTEM_STATIC_L
-I"../../.." -I"/cygdrive/c/boost/org/trunk" -o "../../../bin/lib

Looks like clang no longer likes the -mthreads option. This should
probably be dealt with in the b2 clang.jam file, but I don't know what
to change. Any help?

Eric Niebler

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