[cvs-nhc98] Fix error (nthcon: n==0 con==37) due to an interface file

Ian Lynagh igloo@earth.li
Wed, 19 Dec 2001 17:47:04 +0000


On Wed, Dec 19, 2001 at 05:01:26PM +0000, Malcolm Wallace wrote:
> > I also had to compile src/prelude/Hat/Hat.hs by hand with "+RTS -K2M":
> >   ...
> > (I couldn't find an environment variable for default options to NHC
> > easily - is there one?)
> 
> For building the prelude and libraries, we usually add a
> couple of lines to the appropriate Makefile, in this case
> src/prelude/Hat/Makefile, something like
> 
>     ifeq "${BUILDWITH}" "ghc"
>     HEAP = +RTS -K2M -RTS
>     endif
> 
>     EXTRA_H_FLAGS   = $(HEAP)

OK, thanks - presumably nhc or nhc98 rather than ghc though.


Ian