[nhc-bugs] Problems compiling NHC98 for NetBSD/ix86

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Mar 3 11:32:56 EST 2004


Philipp Lucas <phlucas at cs.uni-sb.de> writes:

> I have a problem building NHC98 (1.16 with the GCC-3.3 patch) on NetBSD.
> 
> Line 294 of the Makefile reads:
> 	$(TARGDIR)/$(MACHINE)/compiler-$(CC): $(COMPILERC)
> Unfortunately, the $(COMPILERC) file are not generated:
> 
> gmake: *** Keine Regel vorhanden, um das Target »src/compiler98/*.hc«,
>   benötigt von »targets/ix86-NetBSD/compiler-gcc«, zu erstellen.  Schluss.
> [No rule to create src/compiler98/*.hc.]
> And indeed, from line 199 on there are several rules to create hc files
> for nhc, hbc and ghc, but not for gcc.

The .hc files already exist in the distribution package - they are
not created during a normal build.  Have you issued a "make clean" or
"make realclean"?  These targets remove the .hc files, and the only way
to get them back is to unpack the original distribution tarfile again.

Regards,
    Malcolm


More information about the Nhc-bugs mailing list