Cross-compiling

For Windows on Linux:

i686-w64-ming32-gcc <file>.c -o <file>.exe

If winsock.h is required, use the -lws2_32 flag:

i686-w64-ming32-gcc <file>.c -o <file>.exe -lws2_32