On 07/15/2014 09:51 AM, Edward Diener wrote:
On 7/15/2014 10:53 AM, Eric Niebler wrote:
On 7/14/2014 12:06 AM, Edward Diener wrote:
Just a note to everybody about using clang in Windows. I upgraded the latest clang-linux.jam file in Boost Build on the 'develop' branch so that clang in Windows using gcc should now work for the purposes of testing Boost libraries.
<snip>
How is this better than building clang with gcc under cygwin or mingw on Windows?
That is what I was describing ! Evidently I was not clear enough. The change to clang-linux.jam in the Boost Build develop branch sets the threading model for clang with gcc on Windows to -pthread rather than the previous -mthreads, which was causing problems. Its a small change but then again I will never claim credit for being a bjam programmer <g>. Testing this build of clang on Windows targeting mingw/gcc with various Boost libraries seems to work very well for me. If all this is already known I apologize for the redundancy but I am very happy about having another excellent compiler under Windows with which I can test.
Certainly! I've been using clang on Windows this way for a very long time. I do remember hitting the -mthreads problem at one point (and complaining about it on the Boost.Build mailing list to no avail). I don't remember how I worked around the problem. :P Kind of sad that we have a build system that few people understand, and whose bits are rotting. Thanks for patching it up! Eric