Am 09.11.18 um 12:15 schrieb Sven Schreiber:
Hi,
I've read about the support that Windows 10 (64bit only I think) offers
to run Linux non-graphical programs. Today I tested successfully that it
is possible to build the Linux version of gretl from source on Windows
10 like this:
This worked for me without errors.
Of course it's not really necessary to cross-compile a Linux build on
Windows. But perhaps it would also be possible to use this Linux
subsystem to compile for the Windows target platform. Then this method
could replace the MinGW/Msys way of doing it. (Following Allin's
instruction in the past I was also able to build on Windows with MinGW,
but I believe with the WSL it might be easier.)
Thanks for this summary, Sven. Actually the cooperation between MS and
Canonical exists since a couple of years and this kind of Linux support
was already supported for Win 7 -- if I remember correctly. Somehow only
very few people, even among the IT nerds I know, are really aware of
this nice feature.
Artur