To compile with SML/NJ version 110.9.1, run the following command from within src/mlton.
% make nj-mlton
( \
echo 'SMLofNJ.Internals.GC.messages false;'; \
echo 'CM.verbose(SOME false);'; \
echo 'CM.make'\''{group = "sources.cm", force_relink = true};'; \
echo 'Main.exportNJ("../../src/basis-library", "../../lib/mlton");' \
) | sml
Standard ML of New Jersey v110.9.1 [FLINT v1.41], October 19, 1998 [CM; autoload enabled]
- val it = () : unit
val it = true : bool
../lib/mlton-stubs-in-smlnj/socket.sig:1.1-1.19: declaration not tracked by CM
...