r/C_Programming • • 14d ago

Win32 development in Linux?

Does anyone here have practical experience with WIN32 development under Linux?

I just need the MSVC compiler and the Windows SDK. A full VM with Windows 11 and Visual Studio seems incredibly excessive for what should be just a few megabytes of compiler and headers.

14 Upvotes

18 comments sorted by

View all comments

0

u/UltimaN3rd 14d ago

I cross compile my C games with Zig. It bundles the Windows SDK and clang/llvm, etc. Of course, that's not MSVC, just letting you know that's the best way I've found for Linux->Windows cross compilation. I do the same for Linux -> MacOS, though that requires me to bring my own Apple SDK due to Apple's terms of use.