On Debian and variants,

<pre>sudo apt-get install mingw-w64
i686-w64-mingw32-gcc hello.cc -o hello32.exe      # 32-bit
x86_64-w64-mingw32-gcc hello.cc -o hello64.exe    # 64-bit
</pre>

<br><br>
From, <a href="http://www.tinc-vpn.org/examples/cross-compiling-64-bit-windows-binary/">cross compiling tinc for windows 64</a>.

<img class="aligncenter" src="http://i.imgur.com/C4buo.gif" alt="blown" />

Why did I not know about this? It's like I just discovered the screw driver.

In any case, I hope this is helpful. I'm going back under my rock, now.