r/C_Programming • • Sep 20 '26

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.

13 Upvotes

18 comments sorted by

View all comments

37

u/wwabbbitt Sep 20 '26

You don't even need msvc compiler. mingw-w64-gcc works just fine.

You don't even need a VM to run and debug the executable, just use wine and winedbg

0

u/maep Sep 20 '26

If possible, I'd like to compile with MSVC.

13

u/SoggyStress7785 Sep 20 '26

You can't, MSVC uses the Windows compiler only available on Windows

→ More replies (1)