[MLton] self-compiling failed

Wesley W. Terpstra wesley at terpstra.ca
Tue May 18 04:00:17 PDT 2010


2010/5/18 Baojian Hua <huabj at mail.ustc.edu.cn>

> I guess the reason is that the BUILDDATE
> info is automatically generated from the host, so it's highly
> platform dependent (and cause the error).
>

This is a very good point. I've commited a change that hopefully forces
'date' to English.


> Btw: after some modification of the source, the self-compling
> succeeds, but the executable prints:
>
> "incorrect args from shell script"
>

This one is puzzling. Could you edit /usr/bin/mlton and change the line 5
from
set -e
to
set -ex

Then run mlton again and copy-paste the result back to this list?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mlton.org/pipermail/mlton/attachments/20100518/10071b6a/attachment.htm


More information about the MLton mailing list