|
Boost-Build : |
Subject: [Boost-build] Adding options for clang toolset creates invalid command line
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-10-14 11:49:11
In trying to configure clang for Windows I put this in my user
user-config.jam:
using clang : :
C:/Programming/VersionControl/bclang/bin/Release/clang.exe :
<cxxflags>"--driver-mode=cl -D_HAS_EXCEPTIONS=0 /GR-" ;
But now when I use clang to compile I get this invalid command line:
"C:/Programming/VersionControl/bclang/bin/Release/clang.exe" -c -x c++
--driver-mode=cl -D_HAS_EXCEPTIONS=0 /GR- -O0 -g -fno-inline -Wall
-pedantic -g -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -o
"..\..\..\bin.v2\libs\type_traits\test\add_const_test.test\clang-linux-3.4\debug\add_const_test.obj"
"add_const_test.cpp"
How do I workaround this problem ?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk