To run MLton cross-compiled executables on Windows, you must install the Cygwin dll on the Windows machine.
Known issues
-
Time profiling is disabled.
-
Cygwin's mmap emulation is less than perfect. Sometimes it interacts badly with Posix.Process.fork. For idiomatic uses of fork plus exec, you can instead use the MLton.Process.spawn family of functions, which work on all our platforms.
-
Cygwin's mmap emulation does not make available as much contiguous virtual address space as using the Windows VirtualAlloc function. Earlier versions of MLton used VirtualAlloc instead of mmap, but that no longer works.