Boost logo

Boost :

Subject: Re: [boost] configuring the clang toolset
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-09-25 19:09:46


On 9/25/2011 4:03 PM, Eric Niebler wrote:
> On 9/24/2011 2:19 AM, Jürgen Hunold wrote:
>> Hi Eric,
>>
>> On Saturday, 24. September 2011 01:45:06 Eric Niebler wrote:
>>> . I've built clang as described here:
>>> <http://clang.llvm.org/get_started.html>. I added the following line to
>>> my user-config.jam:
>>>
>>> using clang : : /home/eric/build/Debug+Asserts/bin/clang++ ;
>>
>> looks fine.
>>
>>> Now when I try to build, say, the Foreach tests, I get:
>>>
>>> In file included from cstr_byref.cpp:11:
>>> In file included from ../../../boost/test/minimal.hpp:37:
>>> In file included from ../../../boost/test/impl/execution_monitor.ipp:170:
>>> In file included from /usr/include/errno.h:36:
>>> In file included from /usr/include/bits/errno.h:25:
>>> /usr/include/linux/errno.h:4:10: fatal error: 'asm/errno.h' file not found
>>> #include<asm/errno.h>
>>
>> Clang and gcc and includes. A never ending story ;-))
>
> Well, it's better than clang on Windows or clang on cygwin. :-P

You are right. I never got clang to work on Windows, either with MingW
or VC++. Nor did I get any real support on the clang mailing list, which
is really just a clang developer mailing list since there is no clang
user mailing list. So I do not think that clang for Windows is a reality
in any meaningful way.

It's a wonderful compiler but only for non-Windows use.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk