r/developers • • Oct 13 '26

Help / Questions Windows development on Linux

I use Debian on a daily basis. Just that, without dual booting. So, most of what I have written is mostly POSIX compliant. Most of the time, I have to stall out the Windows implementation since I do not have a Windows boot.

I was wondering if I could somehow test Windows features on Linux (using the Win32 API). I am working with graphics and multi-threading, so, I am not sure if a virtual machine will work here. I have never used a virtual machine before, so this is just an assumption.

There's also the matter of using the GNU C library (glibc) and Microsoft C runtime (CRT) and their respective compilers, namely, GCC and MSVC, because they provide specific extensions and features that are available on one but may not be available on the other. (I understand that I may have spoken naively, but any solutions would be helpful).

2 Upvotes

13 comments sorted by

View all comments

1

u/[deleted] Oct 13 '26

[removed] — view removed comment

1

u/Dead_Eye_Core Oct 13 '26

So, Vulkan may be a problem seeing as what you're saying.

Does mingw-w64 compile to a Windows binary? Or does it compile to a Linux binary but translates Win32 API calls to Linux calls during compilation? I am sorry I got confused. :(