2 Feb
2014
2 Feb
'14
7:32 p.m.
On 2/1/2014 10:51 PM, Vyacheslav Andrejev wrote:
Hello Edward,
ED> When trying to test clang under Windows which is built with MingW, ED> Boost Build runs with the options: ED> ED> -c -x c++ -O0 -g -fno-inline -Wall -g -mthreads ED> ED> However clang does not recognize -mthreads and flags it as an error.
Options used for a particular toolset are described in *.jam files located in tools/build/v2/tools. From your information it seems like you are using options from gcc.jam, i.e. gcc toolset, not clang.
I am invoking with b2 toolset=clang.