Re: Problems compiling NHC98 for NetBSD/ix86
Malcolm Wallace <[email protected]> Wed, 3 Mar 2004 11:32:56 +0000
| Newsgroups | gmane.comp.lang.haskell.nhc.bugs |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
Philipp Lucas <[email protected]> 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