问题
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