Ich habe nach einer guten Dokumentation darüber gesucht, wie Standard ML unter Windows läuft. Hat jemand eine gute Anleitung dazu?Running Standard ML unter Windows
Ich habe versucht, Compilierung sml/nj in Cygwin, mit dieser Anleitung: http://www.smlnj.org/install/index.html
$ config/install.sh
config/install.sh: Using shell /bin/sh.
config/install.sh: SML root is /usr/local/sml.
config/install.sh: Installation directory is /usr/local/sml.
config/install.sh: Installing version 110.74.
config/install.sh: URL of source archive is http://smlnj.cs.uchicago.edu/dist/working/110.74/.
config/install.sh: Script /usr/local/sml/bin/.arch-n-opsys reports ARCH=x86; OPSYS=win32; HEAP_SUFFIX=x86-win32.
/usr/local/sml/config/unpack: The run-time tree already exists.
config/install.sh: Compiling the run-time system.
(nmake /Fmakefile.win32 MAKE="nmake /Fmakefile.win32" RUNTIME="run.x86-win32.exe" VERSION="v-x86-win32" CC="cl" CFLAGS="/Zi" CPP="cl /E /EP" TARGET=X86 DEFS=" /DHOST_X86 /DTARGET_X86 /DOPSYS_WIN32 /DVREGS /DINDIRECT_CFUNC /DDLOPEN" XOBJS="" XLIBS="" LD_LIBS="" XCLIBS="" run.x86-win32.exe)
make: -c: Command not found
mk.x86-win32:26: recipe for target `all' failed
make: *** [all] Error 127
config/install.sh: !!! Run-time system build failed for some reason.
Irgendwelche Vorschläge geschätzt würde.
Ich lief auf das gleiche Problem (und am Ende endete mit einem Windows msi). Ich habe mich in den Code vertieft und es scheint, dass das Installationsskript die Informationen, die Cygwin über das Betriebssystem bereitstellt, nicht erkennt. Selbst nach dem Hinzufügen von Informationen funktionierte es für mich immer noch nicht, da ein Teil des Codes in einer 32-Bit-Assembly geschrieben wurde, während der Compiler 64-Bit-C-Bibliotheken verwendete. –