Re: Compiling Hugs on Cygwin

Koen Claessen <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <Pine.CYG.4.58.0410141102530.3728@Koen>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.