[nhc-bugs] trouble compiling under Solaris x86

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Tue, 2 Apr 2002 12:34:23 +0100


jonbernard@iname.com writes:

> I'm having difficulty compiling nhc-1.12 for Solaris 2.8 x86. The
> trouble seems to be with DErrno.hs:

In fact, the error building DErrno.hs is just a symptom of a different
problem.  You have bootstrapped nhc98 from C files using gcc, and the
first time the new compiler is actually used is on the DErrno module.
Thus, the error indicates a more general fault in the compiler itself,
not a specific one with this source file.

At a wild guess, is your version of gcc >= 3.0?

> By the way, on Solaris /usr/ccs/bin/make and /usr/xpg4/bin/make complain
> about unexpected end of lines in Makefile.inc (and other Makefiles).

The nhc98 build requires GNU make, which might be installed as gmake
on your system.

Regards,
    Malcolm