开发者

Compiling for windows on linux

Is it possible to compile a Win32 program on a Linux computer without the u开发者_StackOverflow中文版se of an emulator or Wine or anything?


Yes.

For more infomation, google "gcc crosscompile win32".

The first hit is Building a Cross compiler for Windows on Linux


Yes, sure it is possible. You have to use a cross-compiler toolchain. You can find a good gcc cross toolchain both for 32 and 64 bit targets at the following address http://www.drangon.org/mingw/


Yes it is possible, C++ was designed to compile the same code on multiple platforms, however take notice: if you have windows specific system calls/commands in your program they won't work on Linux and vice-versa.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜