Boost logo

Boost-Build :

Subject: Re: [Boost-build] Adding options for clang toolset creates invalid command line
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-10-14 13:41:32


On 10/14/2013 11:49 AM, Edward Diener wrote:
> 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 ?

Please ignore. I have to create a clang toolset for clang on Windows
using VC++ RTL since the options for the clang toolset for Linux do not
work.


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