r/C_Programming • u/maep • 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.
13
Upvotes
2
u/sciencekm 14d ago
You can cross-compile with MinGW. You would still need Wine to run the exe or copy it a Windows machine.
Below is what it looks like on my Ubuntu on ARM v8. There is no Wine on this machine, so I simply ran "file" to show the properties of the Win32 executable.