[MLton] x86_64 branch portability

Ville Laurikari ville@laurikari.net
Sun, 25 Jun 2006 21:38:03 +0300


Hi,

Building the new runtime requires a working `mlton' compiler.  This is
not a problem for AIX and HP-UX, but it seems to me that for a
completely new port it _is_ a problem for obvious reasons...  Am I
missing something?

Also, it `bin/add-cross' is not working for me.  It outputs these
errors:

  runtime.c:2759: warning: redundant redeclaration of 'gcState'
  runtime.c:315: warning: previous declaration of 'gcState' was here
  runtime.c:3578:25: error: Word-consts.h: No such file or directory
  runtime.c:3579:22: error: Word-ops.h: No such file or directory
  runtime.c:3580:24: error: Word-check.h: No such file or directory
  runtime.c:3604:20: error: coerce.h: No such file or directory
  runtime.c:3624: warning: redundant redeclaration of 'gcState'
  runtime.c:2759: warning: previous declaration of 'gcState' was here
  runtime.c:3684:23: error: interpret.h: No such file or directory
  runtime.c:3699:74: error: c-chunk.h: No such file or directory
  runtime.c:3701:20: error: opcode.h: No such file or directory
  runtime.c:4041: error: expected ')' before 'b'
  runtime.c:4142: error: expected ')' before 'b'
  runtime.c:4147: error: expected ')' before 'b'
  make: *** [runtime.o] Error 1

It seems that some header files aren't copied -- I can probably fix
that.  For some reason `add-cross' doesn't abort on the first error,
but tries to continue.  I can probably fix that too.


--
http://www.iki.fi/vl/