[Hugs-bugs] Compiling Hugs on Cygwin

Koen Claessen koen at cs.chalmers.se
Thu Oct 14 05:26:17 EDT 2004


Ross Paterson wrote:

 | This was fixed last December in CVS.  You could try a snapshot from
 | http://cvs.haskell.org/Hugs/downloads/snapshots/

I tried both snapshots that are there (hugs98-20040917 and
hugs98-20041008). Both fail in the making:

>>>
cd src; make all
make[1]: Entering directory
`/usr/local/packages/Hugs/hugs98-20040917/src'
gcc -c -DNDEBUG=1 -g  -O2 hugs.c
gcc -c -DNDEBUG=1 -g  -O2 edit.c
gcc -c -DNDEBUG=1 -g  -O2 observe.c
gcc -c -DNDEBUG=1 -g  -O2 builtin.c
In file included from builtin.c:1423:
timeprim.c: In function `primGetCalTime':
timeprim.c:147: error: wrong type argument to unary minus
timeprim.c: In function `primMkTime':
timeprim.c:232: error: wrong type argument to unary minus
make[1]: *** [builtin.o] Error 1
make[1]: Leaving directory
`/usr/local/packages/Hugs/hugs98-20040917/src'
make: *** [all] Error 2
<<<

(This is compiling Hugs out of the box on a fresh cygwin.)

Regards,
/Koen


More information about the Hugs-Bugs mailing list