Re: Announce: nhc98-1.0pre19



About this list Date view Thread view Subject view Author view

Mike Thomas (miketh@ptmnet.com)
Wed, 14 Jun 2000 10:23:00 +1000


Hi Malcolm. > A new pre-release of the nhc98 Haskell Compiler, nhc98-1.0pre19, is now > available in the usual place: This takes a long time to build! The usual minor problems for building nhc98 with Cygwin B20 on Win NT: 1. The makefile for the new interpreter hi assumes that hmake can find nhc98 in the normal executable PATH, but as I had not included the scripts directory in the path it could not find it. 2. When copying the final executable hi.exe to the lib directory, mv can't find it because on Windows it's called hi.exe rather than hi. Fix - add $EXE to the mv line: install: all mv $(PROG)$(EXE) $(DST) 3. Similar problem with executable main.exe in compiler98 4. In some bizarre twist of logic make decided that it had to remake the profiler prelude library (which already existed) but this time around failed because it couldn't find IsDigit.hi? Maybe I'm misunderstanding what's happening. ---------------------------------------------------------------------------- ------------------- cd src/prelude; make CFG=p install cd Char; make all cd ../Numeric; make ../Numeric/Nonnull.hi //d/lang/nhc98-1.0pre19/script/nhc98 -cpp -p -c +CTS -part -redefine -CTS -P../Char -P../PreludeText -P../PreludeList -P../R atio -o /dev/null Nonnull.hs cd ../Numeric; make ../Numeric/LexDigits.hi //d/lang/nhc98-1.0pre19/script/nhc98 -cpp -p -c +CTS -part -redefine -CTS -P../Char -P../PreludeText -P../PreludeList -P../R atio -o /dev/null LexDigits.hs User-defined IO error:Can't open any of: ./IsDigit.hi ../Char/IsDigit.hi ../PreludeText/IsDigit.hi ../PreludeList/IsDigit.hi ../Ratio/IsDigit.hi d:/lang/nhc98-1.0pre19/include/IsDigit.hi when trying to read IsDigit. make[3]: *** [../Numeric/LexDigits.hi] Error 1 make[2]: *** [../Numeric/LexDigits.hi] Error 2 make[1]: *** [Char.make] Error 2 make: *** [targets/ix86-CYGWIN_NT-4.0/profprelude] Error 2 ---------------------------------------------------------------------------- ------------------- 5. Hi dies after displaying the neat banner: ---------------------------------------------------------------------------- ------------------- Type :? for help [main] d:\lang\nhc98-1.0pre19\lib\ix86-CYGWIN_NT-4.0\hi.exe 6485 (0) handle_exce ptions: Exception: STATUS_ACCESS_VIOLATION [main] hi 6485 (0) handle_exceptions: Dumping stack trace to hi.exe.core bash-2.02$ ---------------------------------------------------------------------------- ----------------- Is there any example code for the FFI lying around somewhere? What is involved in getting the FFI to do GUI callbacks - I notice in the todo project list on your web site that it is unable to do that? Cheers Mike Thomas.


About this list Date view Thread view Subject view Author view