Re: Cygwin and nhc98-1.0pre19



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Thu, 15 Jun 2000 11:04:28 +0100


> When I comment out that line hi gives me a prompt which seems to work OK, > but it can't find the prelude: > > Calling hSetBuffering > Past hSetBuffering > [Module Prelude not found...] > Prelude> > > Why is that? I suppose I have to set some options somehow. I suspect this is a combination of factors. In src/interpreter/ix86-CYGWIN_NT-4.0/LocalConfig.hs you will probably find the setting defaultHc = builtby which, for convenience, I should really have set to defaultHc = "nhc98" If it is the former, and if builtby = "gcc", then unfortunately the interpreter will not know where to look for Prelude files. The fix is either to change to builtby = "nhc98" or just defaultHc ="nhc98". You should also check that nhcKnown = True and nhc98dir = "/something/sensible/include/nhc98" If these two names are not already bound to sensible values, then it may be that I need to rethink the automatic configuration of "hi" some more. Regards, Malcolm


About this list Date view Thread view Subject view Author view