Hi All,

Does anybody have ghc under cygwin32 (B19, B20.1) to be capable to build working ghc 
(and Happy) from sources?
I attempted to play with ghc-4.01 (binary release) under cygwin32 B20.1 (egcs-1.1.1, 
last coolview-dll) under NT 4.0 SP4. I replaced the name "cygwinb19.dll" in exe-files 
by "cygwin1.dll" (cygwin dll name in B20.1). Last libraries libHScbits and libHSrts 
have also been installed from glasgo ftp "working" directory.
After that, "Hello, World!" compiles and runs well. But, nfibX (X = D, ...) crashes 
with the message:

~$ nfibD
[main] f:\cygnus\cygwin-b20\home\mvn\nfibD.exe 1024 (0) handle_exceptions: Excep
tion: STATUS_ACCESS_VIOLATION
[main] nfibD 1024 (0) handle_exceptions: Dumping stack trace to nfibD.exe.core
~$

I discovered that nfibX runs withou crash only for small argument numbers, for 
example, 15. Argument numbers of ~20 cause crash.
Naturaly, when I attempted to build Happy it ran "unhappy", with the same crash 
message.

How can I get working GHC under cygwin32 to be capable to build GHC and (be :) ) Happy?

Thank you.

Best regards,
Michael Nikolaev


Reply via email to