views:

90

answers:

2

Is it possible to compile a Win32 program on a Linux computer without the use of an emulator or Wine or anything?

+2  A: 

Yes.

For more infomation, google "gcc crosscompile win32".

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

Ben Voigt
+1 True. I'm seeing you a lot lately, @Ben.
karlphillip
Clearly we're interested in the same tags ;)
Ben Voigt
A: 

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/

Dj Gaspa