Prerequisities

This bindist tarball was built on 8.4-RELEASE. But it can be used on the latest releases of the 9.x and 10.x branches as well -- that is, it works both on 9.2-RELEASE and 10.0-RELEASE. It may work on 11-CURRENT, but your milage may vary.

In order to be able to install the contents, the following ports or packages should be present on the system:

Running configure

Although GHC 7.8.1 may work with Clang, it is recommended to use GCC from the Ports Collection until the Clang support receives more testing on FreeBSD.

$ env CC=gcc47 ./configure --with-gcc=gcc47 --with-ld=/usr/local/bin/ld \
    --prefix=$PREFIX

Regarding the LLVM-based code generator, note that the bindist was built with the LLVM tools present but recently the naming of the FreeBSD LLVM ports have changed, so their paths should be set manually in GHC's settings file (under lib/ghc-7.8.1) according to the version of LLVM installed. That is, llc34 and opt34 for LLVM 3.4 (installed via devel/llvm34) and so on.

Installation

After configure has completed successfully, just use GNU make:

$ gmake install

Reporting Problems

Please report problems directly to .