compiling ghc 5.0 with cygwin

John.Velman@HSC.com John.Velman@HSC.com
Tue, 17 Apr 2001 13:48:54 -0700


I am using Cygwin on an NT4SP5.  I have a recent (i.e.,
up to date) installation of Cygwin (1.1.8-2).

I installed ghc 4.08.2, and it seems to work.  At least
the simple "hello" works, and happy-1.9 seemed to compile
and install with no problems.

When I tried to compile ghc-5.00, my "make" run ends with
the following error

______
....tail of make output:
------------------------------------------------------------------------
==fptools== make boot - --unix - --no-print-directory -r;
 in /home/newarchives/haskell/ghc5/ghc-5.00/ghc/utils/hsc2hs
------------------------------------------------------------------------
Creating Config.hs ... done.
make INSTALLING=0 BIN_DIST=0 - --unix - --no-print-directory -r all
/usr/local/bin/ghc -package util -O    -c Config.hs -o Config.o -osuf o
/usr/local/bin/ghc -package util -O    -c KludgedSystem.hs -o KludgedSystem.o -o
suf o
/usr/local/bin/ghc -package util -O    -c Main.hs -o Main.o -osuf o
/usr/local/bin/ghc -o hsc2hs-bin -package util -O       Config.o KludgedSystem.o
 Main.o
V:/usr/local/lib/ghc/ghc-4.08.2/lib/libHSstd.a(Time.o)(.text+0x1c42c):ghc1360.c:
 undefined reference to `_imp___timezone_dll'
collect2: ld returned 1 exit status
make[4]: *** [hsc2hs-bin] Error 1
make[3]: *** [all] Error 2
make[2]: *** [boot] Error 1
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/home/newarchives/haskell/ghc5/ghc-5.00/ghc'
make: *** [all] Error 1
_______

Has anyone seen this before -- is it a cygwin bug or a ghc bug?  Well,
you know all the questions.

I hope someone knows the answers!

John Velman
john.velman@hsc.com