mlton for Debian
----------------

                   NOTE TO PORTERS AND AUTOBUILDERS

MLton is self-hosting, i.e. building MLton requires a working SML
compiler, and the Makefiles assume that this is MLton itself. This means
MLton build-depends upon itself. Please don't whine about this fact
(e.g. file bugs) unless you have something constructive to suggest.

You can build MLton with older versions of itself, as long as the
command-line switches haven't changed too much. Please see the file
README.source for details on the porting process. You can also bootstrap
with SML/NJ. See the MLton User Guide for details.

It is easy enough to manually build: fetch the latest linux binary tgz
from http://www.mlton.org, symbolic link the binaries it contains into
/usr/bin/ and its library directory as /usr/lib/mlton, and you're good
to go.

                        HARDWARE REQUIREMENTS

Compiling MLton requires at least 1G of actual RAM on 32-bit systems and
2G of actual RAM on 64-bit systems. Thus, if your machine has less than
this, it is likely that self-compilation will take a very long time due
to paging.  Even if you have enough memory, there simply may not be
enough available, due to memory consumed by other processes.  In this
case, you may see an ``Out of memory'' message, or self-compilation may
become extremely slow.  The only fix is to make sure that enough memory
is available.

Now, get out there and have a MLton of fun!

 -- Barak Pearlmutter <bap@cs.unm.edu>, Fri, 12 Oct 2001 11:31:16 -0600
 -- Stephen Weeks <sweeks@sweeks.com>, Fri, 11 Jul 2003 12:27:26 -0700
 -- Wesley W. Terpstra <terpstra@debian.org>, Tue, 13 Oct 2009 03:47:12 +0200
 -- Ryan Kavanagh <rak@debian.org>  Mon, 27 Dec 2021 20:59:07 -0500
