| 1 |
mlton for Debian |
| 2 |
---------------- |
| 3 |
|
| 4 |
NOTE TO PORTERS AND AUTOBUILDERS |
| 5 |
|
| 6 |
MLton is self-hosting, i.e. building MLton requires a working SML |
| 7 |
compiler, and the Makefiles assume that this is MLton itself. This means |
| 8 |
MLton build-depends upon itself. Please don't whine about this fact |
| 9 |
(e.g. file bugs) unless you have something constructive to suggest. |
| 10 |
|
| 11 |
You can build MLton with older versions of itself, as long as the |
| 12 |
command-line switches haven't changed too much. Please see the file |
| 13 |
README.source for details on the porting process. You can also bootstrap |
| 14 |
with SML/NJ. See the MLton User Guide for details. |
| 15 |
|
| 16 |
It is easy enough to manually build: fetch the latest linux binary tgz |
| 17 |
from http://www.mlton.org, symbolic link the binaries it contains into |
| 18 |
/usr/bin/ and its library directory as /usr/lib/mlton, and you're good |
| 19 |
to go. |
| 20 |
|
| 21 |
HARDWARE REQUIREMENTS |
| 22 |
|
| 23 |
Compiling MLton requires at least 1G of actual RAM on 32-bit systems and |
| 24 |
2G of actual RAM on 64-bit systems. Thus, if your machine has less than |
| 25 |
this, it is likely that self-compilation will take a very long time due |
| 26 |
to paging. Even if you have enough memory, there simply may not be |
| 27 |
enough available, due to memory consumed by other processes. In this |
| 28 |
case, you may see an ``Out of memory'' message, or self-compilation may |
| 29 |
become extremely slow. The only fix is to make sure that enough memory |
| 30 |
is available. |
| 31 |
|
| 32 |
Now, get out there and have a MLton of fun! |
| 33 |
|
| 34 |
-- Barak Pearlmutter <[email protected]>, Fri, 12 Oct 2001 11:31:16 -0600 |
| 35 |
-- Stephen Weeks <[email protected]>, Fri, 11 Jul 2003 12:27:26 -0700 |
| 36 |
-- Wesley W. Terpstra <[email protected]>, Tue, 13 Oct 2009 03:47:12 +0200 |
| 37 |
-- Ryan Kavanagh <[email protected]> Mon, 27 Dec 2021 20:59:07 -0500 |