
Hi, 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. I tried to just go to src/compiler98 and run, analogously to the other rules, gmake HC=gcc install but this also fails: /RW/users/phlucal/i/nhc98-1.16/script/hmake: /RW/users/phlucal/i/nhc98-1.16/lib/ix86-NetBSD/MkProg: not found Stop - hmake dependency error. make fromC in this directory also fails because of the missing hc files. So, before I continue to just try things and see what happens: Has anyone succeeded in compiling nhc98 with gcc for NetBSD? What should I do? -- Philipp Lucas phlucas@cs.uni-sb.de

Philipp Lucas
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
participants (2)
-
Malcolm Wallace
-
Philipp Lucas