I have had problems under Cygwin compiling both 0.12.0 and 0.12.2, but not 0.12.1 (see error message below). These problems first cropped up after I had installed 0.12.0, and then extracted a clean copy to a different place to test the IL backend. The clean copy came up with these problems, but a copy of the directory I had installed from always worked, even after running mmake clean.
0.12.1 was fine, but these problems have come up again with 0.12.2. What do I do about it?<br><br>make[1]: Entering directory `/installs/mercury-compiler-0.12.2'<br>cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake
<br>make[2]: Entering directory `/installs/mercury-compiler-0.12.2/scripts'<br>make[2]: Nothing to be done for `default_target'.<br>make[2]: Leaving directory `/installs/mercury-compiler-0.12.2/scripts'<br>cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake
<br>make[2]: Entering directory `/installs/mercury-compiler-0.12.2/util'<br>../scripts/mgnuc --grade asm_fast.gc --no-mercury-stdlib-dir -- -I../runtime -O0 -o info_to_mdb info_to_mdb.c <br>In file included from ../runtime/mercury_regs.h:85,
<br> from ../runtime/mercury_std.h:21,<br> from info_to_mdb.c:21:<br>../runtime/machdeps/i386_regs.h:47: global register variable follows a function definition<br>../runtime/machdeps/i386_regs.h:48: global register variable follows a function definition
<br>../runtime/machdeps/i386_regs.h:56: global register variable follows a function definition<br>make[2]: *** [info_to_mdb] Error 1<br>make[2]: Leaving directory `/installs/mercury-compiler-0.12.2/util'<br>make[1]: *** [util] Error 2
<br>make[1]: Leaving directory `/installs/mercury-compiler-0.12.2'<br><br>Jon