[cfe-dev] Clang on Windows targeting gcc requirements

Edward Diener eldlistmailingz at tropicsoft.com
Tue Jul 7 13:32:33 PDT 2015


On 7/7/2015 2:58 PM, Martell Malone wrote:
>     Can you build the whole toolchain without any GNU stuff?
>     What replaces make, gprof, addr2line, c++filt? Is lldb working
>     perfectly on Windows/GNU?
>
>
> Well i am using cmake so you can use ninja or whatever generator is uses.
>
> In terms of the other things you mentioned binutils is still required as
> lld is not quite ready to handle this
> I did say it was independent of gcc not binutils :)
>
> I have't tested lldb but that will be the next package I work on.
>
>     Right now clang drops in the mingw chain which requires us to
>     maintain mingw compatibility, a task by itself.
>
> Well thats exactly what I changed
> Clang can now build the mingw-w64 crt itself also so gcc is not needed
> at all.

That does work but could you please look at my comment regarding a 
problem with clang and the mingw-64 intrin.h in gcc-4.9 and gcc-5.1.

I don't mind Hurcan taking over this thread I started since he had his 
own problem with clang targeting gcc on Windows, but I would like a 
little clarification of what I have reported using clang with 
mingw-64/gcc-4.9 and mingw-64/gcc-5.1. Thanks !





More information about the cfe-dev mailing list