[cfe-dev] mingw-w64 support

Ruben Van Boxem vanboxem.ruben at gmail.com
Wed Oct 13 11:24:31 PDT 2010


2010/10/10 Ruben Van Boxem <vanboxem.ruben at gmail.com>

> Hi,
>
> I am interested in helping Clang work with/on/for the mingw-w64 runtime. I
> understand LLVM/Clang works on i686-pc-mingw32, but there probably needs to
> be some/"a lot" of work done for mingw-w64.
>
> Where should I start (other than cmake && make and see where I get)?
>
> Thanks,
>
> Ruben
>
>
After applying attached patches, I proceeded to build with mingw-w64 GCC
4.5.
Three problems up to now:
1. CMake detects platform as i686-pc-mingw32, while my compiler is very
clearly x86_64-w64-mingw32.
2. Build at 55%, tblgen.exe crashes. The build then freezes (kill and
restart, it skips and fails at the error below)
3. At 56%, build fails at an undeclared symbol: "SelectCode". This is
probably due to number 2

I have no idea what tblgen.exe is supposed to do or why it crashes. How
should I proceed?

Thanks!

Ruben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101013/5b0b4409/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DynamicLibrary.inc.diff
Type: application/octet-stream
Size: 1134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101013/5b0b4409/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Win32.h.diff
Type: application/octet-stream
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101013/5b0b4409/attachment-0001.obj>


More information about the cfe-dev mailing list