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

Show parent comment

16

u/dont-respond Sep 20 '26

Yes, you can. Using MSVC via Wine works perfectly fine.

https://github.com/mstorsjo/msvc-wine

This is the only sane way to maintain a build with the Windows system-provided runtime.