# nhc98 download page

The latest stable release is 1.18, available in various distribution formats (listed below). Important patches for the stable version are also provided. The development tree is at version 1.19, and is only available by CVS. Bugfixes and important changes to the system are described in the release notes for each version.

Don't forget to read the installation instructions.

### Distribution packages

package | machine | version | date | size
--- | --- | --- | --- | ---
Sources (.tar.gz) | any | 1.18 | 2005-03-11 | 14.5Mb
Executable (.tar.gz) | ix86-Linux | 1.18 | 2005-03-11 | 8.4Mb
Executable (.tar.gz) | sparc-solaris2 | 1.18 | 2005-03-11 | 10.0Mb
Executable (.tar.gz) | powerpc-Darwin7 | 1.18 | 2005-03-11 | 9.0Mb
Executable (.tar.gz) | ix86-CYGWIN_NT-5.1 | 1.18 | 2005-03-11 | -Mb
Sources (.tar.gz) | any | 1.16 | 2003-03-08 | 5.6Mb
Executable (.tar.gz) | ix86-Linux | 1.16 | 2003-03-08 | 4.1Mb
Executable (.tar.gz) | sparc-solaris2 | 1.16 | 2003-03-31 | 5.7Mb
Executable (.tar.gz) | ix86-CYGWIN_NT-5.1 | 1.16 | 2003-04-29 | 3.3Mb
Sources+Executable | ix86-FreeBSD | 1.16 | 2003-03-08 | .
Sources (.tar.gz) | any | 1.14a | 2002-08-13 | 6.3Mb
Sources (.tar.gz) | any | 1.14 | 2002-06-14 | 6.3Mb
Executable (.tar.gz) | ix86-Linux | 1.14 | 2002-06-14 | 5.3Mb
Executable (.tar.gz) | sparc-solaris2 | 1.14 | 2002-06-18 | 6.0Mb

Alternative locations:
Tarfiles and RPMs:
`ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/` `http://www.cs.york.ac.uk/fp/nhc98/nhc98src-1.16.tar.gz` `http://www.cs.york.ac.uk/fp/nhc98/nhc98-1.16-ix86-Linux.tar.gz`
ix86-Linux RPMs for RedHat 8:
`http://www.dtek.chalmers.se/~d95mback/nhc98/`
ix86-Linux for Debian:
`ftp://ftp.debian.org/debian/pool/main/n/nhc98/`
`ftp://ftp.debian.org/debian/pool/main/h/hmake/`
(Or, you can adjust your /etc/apt/sources.lst to point to the "testing" branch of Debian and use apt-get to install and handle dependencies for you.)
FreeBSD ports:
`http://freshports.org/lang/nhc98/` `http://freshports.org/devel/hs-hmake/`
OpenBSD ports:
`http://www.cse.unsw.edu.au/~dons/haskell_openbsd.html`

Known to compile for at least the following machine/OS combinations:

ix86 | Linux, NetBSD, FreeBSD, OpenBSD, Solaris, Windows/Cygwin, [NOT Windows/msys]
powerpc | Linux, MacOS-X, Darwin, NetBSD, [NOT AIX]
sparc | Solaris, SunOS4
mips | IRIX5, Ultrix-4.5, [NOT IRIX6]
power3 | AIX
pmax,amiga,atari,cobalt,sun3,m68K | NetBSD

All the documents available on the web are included in all the packages. (* Please note that options/instructions for out-of-date packages may differ slightly from the ones on the web. Always follow the instructions from the package itself.)

The unified source tree contains the complete Haskell sources for the compiler, runtime system, standard prelude, and libraries (including Binary, FFI, IOExtras, etc) for nhc98, and current versions of GreenCard, hp2graph, hmake, and cpphs. In addition, it contains bootstrapping C sources in case you don't already have a Haskell compiler to build nhc98 with.

The binary packages contain just the executables, interface files, and object files for the compiler, runtime system, standard prelude, libraries (including Binary, FFI, IOExtras, etc), GreenCard, hp2graph, hmake, and cpphs. In short, everything (except the sources) needed for normal compilation, heap profiling, time profiling.

The installation instructions should be comprehensive, but if you have any problems, please mail `nhc-bugs@haskell.org`. (You do not need to be a member of the list to post to it.)

### Patches

patch name | patch to | date | fixes what problem?
--- | --- | --- | ---
- | nhc98 v1.18 | 2005-03-10 | There are no patches for nhc98-1.18 yet.
gcc3.3 | nhc98 v1.16 | 2003-12-16 | Several new features in gcc-3.3 cause breakage in the nhc98 build. This patch fixes many of those problems, including abort() with too many args, literal string line breaks in asmlong.h, and different assembly alignment instructions.
ghc6 | nhc98 v1.16 | 2003-05-29 | Fix hmake to cope with the recent change in the format of ghc's version numbering.
hmake/cygwin | hmake v3.07 | 2003-04-28 | Errors from hmake-config during 'make install' on a Cygwin platform are caused by a backslash in the middle of a file path.
type synonyms | nhc98 v1.16 | 2003-04-01 | A degenerate type synonym like type T a = a in some circumstances incorrectly caused an occurence check error.
gcc3 | nhc98 v1.14 | 2003-02-05 | When building nhc98 on systems with gcc-3.x, the compiler would seg-fault and core-dump. The problem is a change in the alignment heuristics for arrays in C. This patch introduces a very simple, but nonetheless evil, mangler on the assembly language, which restores the previous alignment.
Time | nhc98 v1.14 | 2002-10-21 | In the Time library, Picosec was misspelt PicoSec.

The latest updates to these pages are available on the WWW from `http://www.haskell.org/nhc98/`

This page last modified: 10th March 2005
York Functional Programming Group