3 ms·
WSL 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
by teilo 9y ago
WSL 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.