Is there a Clang mingw cross compiler for Linux

别来无恙 提交于 2019-12-18 13:07:51

问题


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.)


回答1:


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



来源:https://stackoverflow.com/questions/12704537/is-there-a-clang-mingw-cross-compiler-for-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!