Clang C++ Cross Compiler - Generating Windows Executable from Mac OS X

前端 未结 3 1157
刺人心
刺人心 2020-12-01 01:48

I have created a C++ application using Xcode on my Mac using the Clang compiler.

I want to compile my source files to create an executable that can be ran on a wind

3条回答
  •  情深已故
    2020-12-01 02:00

    Consider using MinGW on Mac OS X to compile Windows binaries. Here are instructions on how to do it on Linux: http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/

    You'll have to adapt them for Mac OS X and you may have to compile MinGW yourself.

    http://www.mingw.org

提交回复
热议问题