[cfe-dev] Linking in clang on Windows

Edward Diener eldlistmailingz at tropicsoft.com
Fri Oct 11 10:16:33 PDT 2013


On 10/11/2013 12:14 PM, Óscar Fuentes wrote:
> Edward Diener <eldlistmailingz at tropicsoft.com>
> writes:
> 
>> You are right, but if I want to build clang under Windows using a
>> Unix-like system do I not have to use this shell ( or cygwin itself )
>> ?
> 
> Why do you want to build Clang under Windows using a Unix-like system?
> 
> It is perfectly possible to build Clang with MinGW without MSYS. I'll
> say it is easier: just use CMake + Ninja from a Windows prompt. The same
> method works for VS and most other (possibly all) OS/toolset
> combinations.

OK, I will look into this on Windows also.

What I am understanding is that I can build clang either to work with
the MingW RTL or the VC++ RTL on Windows. Up to now I have been
concentrating on using clang with the VC++ RTL.

I am trying to use Boost with clang on Windows. This means using Boost
Build, which also means using a clang toolset which will work in at
least setting up clang to compile and link Boost libraries.





More information about the cfe-dev mailing list