[MLton] Cross-Compile

Brent Fulgham bfulgham@debian.org
Tue, 19 Oct 2004 22:58:06 -0700


Stephen,

I'm trying to cross-compile from Linux to Mingw, but it's failing after
generating the ASM and C files.  I suspect it's looking for the
C compiler, but I don't know  what path it expects to use:
[ ... stuff ... ]
   sxmlPassesSet: <sxmlPassesSet>
   sxmlPasses: [default]
   target: i386-pc-mingw32
   target arch: X86
   target OS: MinGW
   type check: true
   type error: concise
   use basis library: true

[ ... more stuff ... ]

            Directive.allocateRegisters totals 0.01 + 0.00 (0% GC)
            validate totals 0.00 + 0.00 (0% GC)
         outputAssembly finished in 0.10 + 0.00 (0% GC)
         outputC starting
         outputC finished in 0.00 + 0.00 (0% GC)
      x86 code gen finished in 0.10 + 0.00 (0% GC)
      numPeeks = 2764361
      maxLength = 5
      average position in property list = 0.246
      numPeeks = 113628
      average position in bucket = 1.136
   Compile SML finished in 7.64 + 2.85 (27% GC)
   Compile C and Assemble starting
   Compile C and Assemble raised in 0.00 + 0.00 (0% GC)
MLton raised in 7.65 + 3.32 (30% GC)
No such file or directory
brent@hopper:~/projects/mlton$ 

Can you tell me what path it's searching for GCC?  I can't find it by
grepping through the sources.

Thanks,

-Brent