[MLton-user] System mlb files in a home directory installation

Matthew Fluet fluet@cs.cornell.edu
Sun, 23 Apr 2006 17:07:53 -0400 (EDT)


>> You should be able to use
>>   $(SML_LIB)/basis/basis-1997.mlb
>> to portably reference the 1997 revision of the Basis Libary.  The value of
>> $(SML_LIB) is set automatically by the compiler.
>
> Thanks Matthew, you're shouldering most of the burden of getting me up
> and compiling on my new machine.

Not a problem.

> I thought of this method, but the documentation page
>
> http://mlton.org/MLBasisPathMap
>
> put me off, because it seemed to suggest SML_LIB was mapped to an
> absolute path. I can't quite think how I'd express the exact
> behaviour, or else I'd edit the wiki myself.

I changed it to:

SML_LIB 	path to system-wide libaries, usually /usr/lib/mlton/sml