How to compile C++ on linux for to make a windows binary [duplicate]

Deadly 提交于 2019-12-12 16:34:20

问题


Possible Duplicate:
Howto compile for Windows on Linux with gcc / g++?

We don't have windows here how can I compile this program for some ppl? Is there some kinda Wine for linux programs to run on windows or what.


回答1:


You can use cross-compiler gcc-mingw

I did not use it myself and about it only theoretically.



来源:https://stackoverflow.com/questions/9243687/how-to-compile-c-on-linux-for-to-make-a-windows-binary

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