4 ms·
I develop full fledged Windows applications using GCC with MinGW. They could have managed to let people doing the same thing with WSL but you cannot.
by frankohn 9y ago
I develop full fledged Windows applications using GCC with MinGW. They could have managed to let people doing the same thing with WSL but you cannot.
- teilo 9y agoWSL is Linux. It is not Windows. Microsoft "managed" to make it possible to run Linux binaries on Windows, in a pseudo-virtual Linux environment. The distro you choose to run in WSL is not built by Microsoft. If you want to develop to a Windows target, then configure your WSL environment to do cross-compiling. That's up to you. If you can cross-compile in Ubuntu, then you can cross-compile in WSL. Just don't expect WSL to be anything but Linux.