nhc98-1.16 has been imported into the OpenBSD ports tree.
It is known to build on i386, sparc and powerpc OpenBSD. I'm attempting
to build on the other 32 bit platforms (arm, hppa, m68k, m88k, vax), and
we'll see how that goes. It is built via GHC on i386 and sparc, and via
gcc everywhere else.
I've also stripped down the ghc regress tests so that we could
auto-regress test nhc as it gets built. This consisted in removing as
many ghc language extension tests to their testsuite as I could, until
around 550 tests were being built. This may be of interest to other nhc
users. An ideal solution would be to add a 'no-nhc' flag to each test in
the testsuite, so that we can have a unified testsuite tree... The port
script that controls this is at:
http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/nhc98/Makefile?rev=1.1.1.1
nhc won't build on at least amd64, so I've disabled 64 bit platforms
(this is a known issue?) Transcripts (via gcc and ghc) of the amd64
build are attached. It seems gcc-3.3.2 doesn't play well with nhc, at the
moment, as this failure looks similar to a gcc3 failure I've had on
linux/i386 too.
Cheers,
Don