Re: hat fails to build on FreeBSD-current

Malcolm Wallace <[email protected]>
Newsgroups gmane.comp.lang.haskell.hat
Organization Dept of Computer Science, University of York, UK.
Message-ID <[email protected]>
Oliver Braun <[email protected]> writes:

> hat fails to build on FreeBSD-current. See [1] for Details.
> nhc98-1.14a has been built with ghc-5.04.1.
> $ cc --version
> cc (GCC) 3.2.1 [FreeBSD] 20021009 (prerelease)

OK, I suspect the problem is that nhc98 does not work well with gcc-3.x.
Does FreeBSD-current also have a gcc-2.9x.x series compiler available?
If so, try rebuilding nhc98's runtime, prelude, and libraries with the
older version of gcc as the C backend.  e.g.

    cd nhc98-1.14a
    CC=gcc-2.95.3 ./configure --buildwith=ghc-5.04.1

and the same for Hat, I suppose:

    cd hat-2.00
    CC=gcc-2.95.3 ./configure --buildwith=nhc98

Regards,
    Malcolm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.