Hello all.
I think only Cygwin proposed by Hamid provides a native Windows compilation.
I have decided to actually try , and successfully compiled Basilisk using CygWin. In the screenshot, you can witness basilisk simulation (collapsing torus in 3D and yes, there is torus.exe :)) running natively on WinXP. (Okay, I admit Win XP itself runs in a qemu virtual machine, but that's a minor detail.) To pull this off, I needed an antiquated version of Cygwin that can collaborate with WinXP, but modern W10 Cygwin will be far easier to use.
CygWin is very nearly POSIX-compatibile. It has gcc, flex, ld, gdb and most libraries Basilisk needs. I was *almost* able to get a functional Bview, but fell short of libglx-mesa: perhaps it is available in modern Cygwin. My version also doesn't have darcs available, so I used a tarball to get the source. I even natively ran Gnuplot, so there's a simple plot of multigrid steps visible on a dumb terminal. Emacs is available as well as Vi(m), although of course once in Windows, one may use Windows software (such as the glorious Notepad) to edit the code.
I also tried the 'minimalistic' GNU suite known as MinGW, which is a fork of Cygwin. It fails rather miserably because it's much further from POSIX. Some error examples are visible in the third screenshot: lack of sys/wait.h (actually patchable), but then the incompatibility of the mingw's mkdir() implementation kills the lexer compilation. So, Cygwin is more complete here.
To summarize: Basilisk runs in Windows, as long as you get proper software suite. Cygwin is neither a virtual machine nor a subsystem (no Linux kernel involved), only a collection of GNU tools recompiled for W32.
Not being a Windows user it's hard to judge which solution is the fastest, so definitely all Cygwin, Linux subsystem and virtual Linux should be compared. A "real" Windows machine, with a modern Cygwin installation, sounds promising for Microsoft clients as it's the only native solution.
happy using.
w
--
/^..^\
( (••) )
(|)_._(|)~
Wojciech (Wojtek) ANISZEWSKI
https://orcid.org/0000-0002-4248-1194
GPG ID:AC66485E