| 1 |
= RunningOnMinGW |
| 2 |
|
| 3 |
MLton runs on http://mingw.org[MinGW], a library for porting Unix |
| 4 |
applications to Windows. Some library functionality is missing or |
| 5 |
changed. |
| 6 |
|
| 7 |
== Notes |
| 8 |
|
| 9 |
* To compile MLton on MinGW: |
| 10 |
** The <<GMP#>> library is required. |
| 11 |
** The Bash shell is required. If you are using a prebuilt MSYS, you |
| 12 |
probably want to symlink `bash` to `sh`. |
| 13 |
|
| 14 |
== Known issues |
| 15 |
|
| 16 |
* Many functions are unimplemented and will `raise SysErr`. |
| 17 |
** `MLton.Itimer.set` |
| 18 |
** `MLton.ProcEnv.setgroups` |
| 19 |
** `MLton.Process.kill` |
| 20 |
** `MLton.Process.reap` |
| 21 |
** `MLton.World.load` |
| 22 |
** `OS.FileSys.readLink` |
| 23 |
** `OS.IO.poll` |
| 24 |
** `OS.Process.terminate` |
| 25 |
** `Posix.FileSys.chown` |
| 26 |
** `Posix.FileSys.fchown` |
| 27 |
** `Posix.FileSys.fpathconf` |
| 28 |
** `Posix.FileSys.link` |
| 29 |
** `Posix.FileSys.mkfifo` |
| 30 |
** `Posix.FileSys.pathconf` |
| 31 |
** `Posix.FileSys.readlink` |
| 32 |
** `Posix.FileSys.symlink` |
| 33 |
** `Posix.IO.dupfd` |
| 34 |
** `Posix.IO.getfd` |
| 35 |
** `Posix.IO.getfl` |
| 36 |
** `Posix.IO.getlk` |
| 37 |
** `Posix.IO.setfd` |
| 38 |
** `Posix.IO.setfl` |
| 39 |
** `Posix.IO.setlkw` |
| 40 |
** `Posix.IO.setlk` |
| 41 |
** `Posix.ProcEnv.ctermid` |
| 42 |
** `Posix.ProcEnv.getegid` |
| 43 |
** `Posix.ProcEnv.geteuid` |
| 44 |
** `Posix.ProcEnv.getgid` |
| 45 |
** `Posix.ProcEnv.getgroups` |
| 46 |
** `Posix.ProcEnv.getlogin` |
| 47 |
** `Posix.ProcEnv.getpgrp` |
| 48 |
** `Posix.ProcEnv.getpid` |
| 49 |
** `Posix.ProcEnv.getppid` |
| 50 |
** `Posix.ProcEnv.getuid` |
| 51 |
** `Posix.ProcEnv.setgid` |
| 52 |
** `Posix.ProcEnv.setpgid` |
| 53 |
** `Posix.ProcEnv.setsid` |
| 54 |
** `Posix.ProcEnv.setuid` |
| 55 |
** `Posix.ProcEnv.sysconf` |
| 56 |
** `Posix.ProcEnv.times` |
| 57 |
** `Posix.ProcEnv.ttyname` |
| 58 |
** `Posix.Process.exece` |
| 59 |
** `Posix.Process.execp` |
| 60 |
** `Posix.Process.exit` |
| 61 |
** `Posix.Process.fork` |
| 62 |
** `Posix.Process.kill` |
| 63 |
** `Posix.Process.pause` |
| 64 |
** `Posix.Process.waitpid_nh` |
| 65 |
** `Posix.Process.waitpid` |
| 66 |
** `Posix.SysDB.getgrgid` |
| 67 |
** `Posix.SysDB.getgrnam` |
| 68 |
** `Posix.SysDB.getpwuid` |
| 69 |
** `Posix.TTY.TC.drain` |
| 70 |
** `Posix.TTY.TC.flow` |
| 71 |
** `Posix.TTY.TC.flush` |
| 72 |
** `Posix.TTY.TC.getattr` |
| 73 |
** `Posix.TTY.TC.getpgrp` |
| 74 |
** `Posix.TTY.TC.sendbreak` |
| 75 |
** `Posix.TTY.TC.setattr` |
| 76 |
** `Posix.TTY.TC.setpgrp` |
| 77 |
** `Unix.kill` |
| 78 |
** `Unix.reap` |
| 79 |
** `UnixSock.fromAddr` |
| 80 |
** `UnixSock.toAddr` |