Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Clang mingw cross compiler for Linux

In Linux, and specifically on Debian or Ubuntu, there are pre-packaged Mingw cross compilers which can generate Windows EXEs.

But is there a similar cross compiler using Clang instead of GCC? (Or instructions on how to build such a beast.)

like image 309
Prof. Falken Avatar asked Oct 03 '12 08:10

Prof. Falken


1 Answers

I've written a tool with which you can compile easily with clang for windows on linux. Check out: https://github.com/tpoechtrager/wclang.

like image 116
Thomas Avatar answered Sep 30 '22 19:09

Thomas