[MLton] power pc "port"
Matthew Fluet
fluet@cs.cornell.edu
Fri, 27 Aug 2004 15:42:12 -0400 (EDT)
> Filip and I are stuck on a small annoyance: we are trying to use the
> boostrap-nj to compile an initial MLton, but it dying on mllex and
> mllyacc: basically it doesnt know what to do about Int.t. Instead of using
> the modified mlton mllex and mlyacc it uses the sml/nj versions and as
> such dies. The good news is we can compile everything up to the
> interpreter, after that we die =( Any suggests? If we can compile the
> mlton version of mllex and mlyacc I think we should be ok, but we have had
> no luck compiling them with sml/nj.
It sounds as though the front-end files aren't up to date on your PPC
machine. You don't want to build from completely clean sources, because,
as you discovered, the front-end generated files are not there. What you
might try is to go to a linux box with MLton (and it's sources) installed,
and
cd mlton/front-end
make
cd ..
tar -czpvf front-end.tgz front-end
And then copy front-end.tgz over to the PPC machine, untar it in the
appropriate place, and try to do a make nj-mlton. If that succeeds, then
try the bootstrap (and be prepared to wait a while).