[MLton] bootstrap problem

Wesley W. Terpstra wesley@terpstra.ca
Tue, 9 Aug 2005 14:09:05 +0200


On Aug 9, 2005, at 1:38 PM, Matthew Fluet wrote:
> This is only a problem if you attempt compile from un-clean  
> sources.  If
> your host compiler is not found in ./build/bin/mlton, then compilation
> bootstraps using the mlton.cm file, which does not use annotations  
> (and
> then does a second compile using mlton.mlb, now that ./build/bin/mlton
> exists)

Ah. I didn't read the surrounding if.

Error: <mlnlffi-lib>/c.mlb 18.4.
   File /Users/terpstra/src/mlton/build/lib/sml/mlnlffi-lib/internals/ 
c-int.powerpc-darwin.mlb does not exist.

I just copied c-int.x86-linux.mlb to c-int.powerpc-darwin.mlb.
Will this work? How can I test it?