Hacker News new | ask | show | jobs
by tosti 85 days ago
To make an elf, you use gcc. To make an exe, you use mingw.

The rest should be a matter of include and linker paths, but that's all I can recall right now.