Cygwin cross compiler

Stephen Weeks MLton@sourcelight.com
Wed, 13 Mar 2002 10:17:45 -0800


> Thanks a lot! I've tried to install the binary, but I can't figure
> out where it gets installed. I've removed the old mlton files in
> /usr/local/bin/ but now nothing seems to appear anywhere when I
> install the binary .rpm. 

We haven't changed where things get installed.  I've included the
output of rpm -qlp below.  

> When compiling the source I get some complaints with
> MLton.Exn.history unbound variable when compiling with the lastest
> of my own modified version.

Yeah, you have to compile the new sources with the new binary.

> I should mention that I'm not running on a Red Hat system but a Debian
> system.

The only other thing I can think of is that we made the RPM
relocatable.  I don't know how you install on a Debian system, but
maybe this causes it to be put in the current directory instead of
/usr/local.

% rpm -qlp mlton-20020312-1.i386.rpm 
/usr/local/bin/mllex
/usr/local/bin/mlprof
/usr/local/bin/mlton
/usr/local/bin/mlyacc
/usr/local/lib/mlton
/usr/local/lib/mlton/hostmap
/usr/local/lib/mlton/mlton-compile
/usr/local/lib/mlton/self
/usr/local/lib/mlton/self/constants
/usr/local/lib/mlton/self/include
/usr/local/lib/mlton/self/include/IntInf.h
/usr/local/lib/mlton/self/include/basis-constants.h
/usr/local/lib/mlton/self/include/ccodegen.h
/usr/local/lib/mlton/self/include/gc.h
/usr/local/lib/mlton/self/include/libmlton.h
/usr/local/lib/mlton/self/include/mlton-basis.h
/usr/local/lib/mlton/self/include/mlton-posix.h
/usr/local/lib/mlton/self/include/mlton.h
/usr/local/lib/mlton/self/include/my-lib.h
/usr/local/lib/mlton/self/include/posix-constants.h
/usr/local/lib/mlton/self/include/x86codegen.h
/usr/local/lib/mlton/self/libmlton-gdb.a
/usr/local/lib/mlton/self/libmlton.a
/usr/local/lib/mlton/world.mlton
/usr/local/man/man1/mlprof.1
/usr/local/man/man1/mlton.1
/usr/share/doc/mlton-20020312
/usr/share/doc/mlton-20020312/CHANGES
/usr/share/doc/mlton-20020312/HTML
/usr/share/doc/mlton-20020312/HTML/contents.png
/usr/share/doc/mlton-20020312/HTML/index.html
/usr/share/doc/mlton-20020312/HTML/main.css
/usr/share/doc/mlton-20020312/HTML/main.html
/usr/share/doc/mlton-20020312/HTML/next.png
/usr/share/doc/mlton-20020312/HTML/next_g.png
/usr/share/doc/mlton-20020312/HTML/node1.html
/usr/share/doc/mlton-20020312/HTML/node10.html
/usr/share/doc/mlton-20020312/HTML/node11.html
/usr/share/doc/mlton-20020312/HTML/node12.html
/usr/share/doc/mlton-20020312/HTML/node13.html
/usr/share/doc/mlton-20020312/HTML/node14.html
/usr/share/doc/mlton-20020312/HTML/node15.html
/usr/share/doc/mlton-20020312/HTML/node16.html
/usr/share/doc/mlton-20020312/HTML/node17.html
/usr/share/doc/mlton-20020312/HTML/node18.html
/usr/share/doc/mlton-20020312/HTML/node19.html
/usr/share/doc/mlton-20020312/HTML/node2.html
/usr/share/doc/mlton-20020312/HTML/node20.html
/usr/share/doc/mlton-20020312/HTML/node21.html
/usr/share/doc/mlton-20020312/HTML/node22.html
/usr/share/doc/mlton-20020312/HTML/node23.html
/usr/share/doc/mlton-20020312/HTML/node24.html
/usr/share/doc/mlton-20020312/HTML/node25.html
/usr/share/doc/mlton-20020312/HTML/node26.html
/usr/share/doc/mlton-20020312/HTML/node27.html
/usr/share/doc/mlton-20020312/HTML/node28.html
/usr/share/doc/mlton-20020312/HTML/node29.html
/usr/share/doc/mlton-20020312/HTML/node3.html
/usr/share/doc/mlton-20020312/HTML/node30.html
/usr/share/doc/mlton-20020312/HTML/node31.html
/usr/share/doc/mlton-20020312/HTML/node32.html
/usr/share/doc/mlton-20020312/HTML/node33.html
/usr/share/doc/mlton-20020312/HTML/node34.html
/usr/share/doc/mlton-20020312/HTML/node35.html
/usr/share/doc/mlton-20020312/HTML/node36.html
/usr/share/doc/mlton-20020312/HTML/node37.html
/usr/share/doc/mlton-20020312/HTML/node38.html
/usr/share/doc/mlton-20020312/HTML/node39.html
/usr/share/doc/mlton-20020312/HTML/node4.html
/usr/share/doc/mlton-20020312/HTML/node40.html
/usr/share/doc/mlton-20020312/HTML/node41.html
/usr/share/doc/mlton-20020312/HTML/node42.html
/usr/share/doc/mlton-20020312/HTML/node43.html
/usr/share/doc/mlton-20020312/HTML/node44.html
/usr/share/doc/mlton-20020312/HTML/node45.html
/usr/share/doc/mlton-20020312/HTML/node46.html
/usr/share/doc/mlton-20020312/HTML/node47.html
/usr/share/doc/mlton-20020312/HTML/node48.html
/usr/share/doc/mlton-20020312/HTML/node49.html
/usr/share/doc/mlton-20020312/HTML/node5.html
/usr/share/doc/mlton-20020312/HTML/node50.html
/usr/share/doc/mlton-20020312/HTML/node51.html
/usr/share/doc/mlton-20020312/HTML/node52.html
/usr/share/doc/mlton-20020312/HTML/node6.html
/usr/share/doc/mlton-20020312/HTML/node7.html
/usr/share/doc/mlton-20020312/HTML/node8.html
/usr/share/doc/mlton-20020312/HTML/node9.html
/usr/share/doc/mlton-20020312/HTML/prev.png
/usr/share/doc/mlton-20020312/HTML/prev_g.png
/usr/share/doc/mlton-20020312/HTML/up.png
/usr/share/doc/mlton-20020312/HTML/up_g.png
/usr/share/doc/mlton-20020312/README
/usr/share/doc/mlton-20020312/cmcat.sml
/usr/share/doc/mlton-20020312/examples
/usr/share/doc/mlton-20020312/examples/Makefile
/usr/share/doc/mlton-20020312/examples/callcc.sml
/usr/share/doc/mlton-20020312/examples/command-line.sml
/usr/share/doc/mlton-20020312/examples/ffi
/usr/share/doc/mlton-20020312/examples/ffi/Makefile
/usr/share/doc/mlton-20020312/examples/ffi/ffi.c
/usr/share/doc/mlton-20020312/examples/ffi/ffi.h
/usr/share/doc/mlton-20020312/examples/ffi/main.sml
/usr/share/doc/mlton-20020312/examples/hello-world.sml
/usr/share/doc/mlton-20020312/examples/profiling
/usr/share/doc/mlton-20020312/examples/profiling/Makefile
/usr/share/doc/mlton-20020312/examples/profiling/profiling.sml
/usr/share/doc/mlton-20020312/examples/profiling/profiling2.sml
/usr/share/doc/mlton-20020312/examples/same-fringe.sml
/usr/share/doc/mlton-20020312/examples/save-world
/usr/share/doc/mlton-20020312/examples/save-world/Makefile
/usr/share/doc/mlton-20020312/examples/save-world/save-world.sml
/usr/share/doc/mlton-20020312/examples/signals.sml
/usr/share/doc/mlton-20020312/examples/size.sml
/usr/share/doc/mlton-20020312/examples/taut.sml
/usr/share/doc/mlton-20020312/examples/thread-switch.sml
/usr/share/doc/mlton-20020312/examples/thread1.sml
/usr/share/doc/mlton-20020312/examples/thread2.sml
/usr/share/doc/mlton-20020312/examples/timeout.sml
/usr/share/doc/mlton-20020312/license
/usr/share/doc/mlton-20020312/license/MLKit-LICENSE
/usr/share/doc/mlton-20020312/license/MLton-LICENSE
/usr/share/doc/mlton-20020312/license/NJ-LICENSE
/usr/share/doc/mlton-20020312/license/README
/usr/share/doc/mlton-20020312/user-guide.ps.gz