[MLton] mlton 20041109 stopped working on cygwin

Tom Murphy tom7@cs.cmu.edu
Fri, 2 Sep 2005 21:08:42 -0400 (EDT)


I'm not really sure if this is a cygwin bug or a mlton bug, but mlton has
stopped working with the most recent update of cygwin. I've tested this on
both of my windows machines, so I don't think it is a configuration error.

Before upgrade, it builds successfully:

bash-2.05b$ make
mlton -const "Exn.keepHistory true" -default-ann "sequenceUnit true"
-output sudoku.exe sudoku.cm
Info: resolving __impure_ptr by linking to __imp___impure_ptr
(auto-import)
bash-2.05b$

After upgrading to the current release:

bash-3.00$ make
mlton -const "Exn.keepHistory true" -default-ann "sequenceUnit true"
-output sudoku.exe sudoku.cm
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
call to system failed with exit status 1:
gcc -c -I/usr/lib/mlton/include -O1 -fno-strict-aliasing
-fomit-frame-pointer -w -fno-strength-reduce -fschedule-insns
-fschedule-insns2 -malign-functions=5 -malign-jumps=2 -malign-loops=2
-mcpu=pentiumpro -o /tmp/fileoy8aoF.o /tmp/filecZUHVJ.1.c
make: *** [sudoku.exe] Error 1

A message box pops up with a message like, "cc1.exe unable to locate
component: The application has failed to start because cygwin1.dll was not
found." Perhaps gcc is being exec'd without the proper environment?

I am able to run gcc from the new cygwin and compile simple programs
without any problem. Let me know if I can do anything to help diagnose the
problem, although I don't have anything set up to build mlton on windows.


 - Tom

[ NEW! : http://tom7.org/       ]
[ OLD! : http://fonts.tom7.com/ ]