Cygwin cross compiler
Henry Cejtin
henry@sourcelight.com
Fri, 15 Mar 2002 12:09:54 -0600
The size of mlton-20020314.tgz on the server is 3913732 so I think something
was wrong with your download.
As to making executables which don't depend on shared libraries, just like
gcc, mlton will honor the -static flag to make statically bound executables.
Again, just as with C code, the resulting executables will be larger. For
the ML program
val _ = print "hello world0
the size of a stripped normal executable is 29,660 bytes while the size of
the static, stripped executable is 1,729,683 bytes. (Note, it is pretty much
a fixed addative overhead, not any kind of multiplicative overhead, so expect
static executables to be about 1.7 megabytes larger.)