Boost logo

Boost-Build :

Subject: Re: [Boost-build] Toolset for clang under Window
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-03-18 11:21:36

On 3/16/2011 2:10 PM, Rene Rivera wrote:
> On 3/16/2011 1:08 PM, Edward Diener wrote:
>> It would be nice if there were a toolset for using clang under Windows,
>> either built with VC++ or MingW. That way Windows programmers could test
>> out their library(s) with clang.
>> I have been relying on gcc and msvc++ under Windows, but recently found
>> the same bug with both but did not know if it was my code or the
>> compiler's fault. Doug Gregor, testing with clang, confirmed that it was
>> not my code but a bug in both compilers. If there were a toolset in
>> Windows for clang, I could have tested out the problem myself.
> OK.. Is there a stable clang for Windows?

Supposedly clang built with MingW is stable and should work, although I
could never get a definitive answer about this on the clang development
mailing list.

Is it possible for you or another Boost Build expert ( Steve Watanabe
mentioned he has meant to do so ) to create a clang toolset for MingW
under Windows, perhaps very similar to the one for gcc for MingW under
Windows ? I would be willing to test it out on my machine since I have
successfully built clang with MingW under Windows from the clang

I tried the current clang toolset for Linux with my own built version of
clang copied on top of my MingW directory structure with gcc 4.5.2, and
while clang was found, many errors occured which showed it does not work
at all for MingW and Windows.

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