previous message on MLton installation.

Stephen Weeks sweeks@intertrust.com
Fri, 4 Jun 1999 16:23:25 -0700 (PDT)


> Yes: bin/mlton is linux specific.
> I just hacked the extension on the heap image from linux to mipseb-irix
> 
> If I were being more thorough, I would have rearranged the file to 
> search $PATH for .arch-n-opsys, and if it existed would run it to get
> HEAP_SUFFIX.  If the system has sml then it almost certainly has
> .arch-n-opsys.

Fixed.  I added the following to bin/mlton.

ARCH_N_OPSYS=`.arch-n-opsys 2>/dev/null`
if [ "$?" = "0" ]; then
	eval $ARCH_N_OPSYS
else
	HEAP_SUFFIX=x86-linux
fi
njHeap="$root/lib/mlton.$HEAP_SUFFIX"