[MLton] Porting problems

Stephen Weeks MLton@mlton.org
Thu, 13 Apr 2006 12:48:37 -0700


> I ran the script as "./bin/add-cross hppa-hp-hpux hppa hpux mono".
> The `hpux' part I've added to MLton.Platform.OS.t.  
> 
> Am I doing some typical mistake?  The error message seems to be coming
> from the MLton main program and it doesn't recognize `hpux' as a valid
> OS.

Yes, that looks like the problem.  Did you rebuild MLton after adding
hpux to MLton.Platform.OS.t?  You need to do that in order for the
MLton executable to know about the new platform.