Debian Codegraph @

doc/guide/src/RunningOnCygwin.adoc

raw
1 = RunningOnCygwin
2
3 MLton runs on the http://www.cygwin.com/[Cygwin] emulation layer,
4 which provides a Posix-like environment while running on Windows. To
5 run MLton with Cygwin, you must first install Cygwin on your Windows
6 machine. To do this, visit the Cygwin site from your Windows machine
7 and run their `setup.exe` script. Then, you can unpack the MLton
8 binary `tgz` in your Cygwin environment.
9
10 To run MLton cross-compiled executables on Windows, you must install
11 the Cygwin `dll` on the Windows machine.
12
13 == Known issues
14
15 * Time profiling is disabled.
16
17 * Cygwin's `mmap` emulation is less than perfect. Sometimes it
18 interacts badly with `Posix.Process.fork`.
19
20 * The https://raw.github.com/MLton/mlton/master/regression/socket.sml[`socket.sml`] regression
21 test fails. We suspect this is not a bug and is simply due to our
22 test relying on a certain behavior when connecting to a socket that
23 has not yet accepted, which is handled differently on Cygwin than
24 other platforms. Any help in understanding and resolving this issue
25 is appreciated.
26
27 == Also see
28
29 * <<RunningOnMinGW#,RunningOnMinGW>>