![]() |
Version 6.10.3 (released 9 May 2009)Online DocsDistribution packagesGHC is packaged for a number of operating systems and distributions. While they may lag behind the latest GHC release, advantages such as dependency checking and ease of uninstallation mean we recommend using them anyway, unless you have a particular need for new features or bug fixes. Binary PackagesThe OS-specific packages (eg. RPMs on Linux) are generally a better bet than the vanilla .tar.bz2 binary bundles, because they will check for dependencies and allow the package to be uninstalled at a later date. However, if you don't have permission to install binaries on your system, or you want to install somewhere other than the default place (/usr or /usr/local on a Unix system), then you'll need to use a .tar.bz2 binary bundle. Supported platforms: Supported platformsLinux (x86)
NOTE: If you have too old a version of libc, then you will get an error like "floating point exception" from the binaries in these bindists. You will need to either upgrade your libc (we're not sure what the minimum version required is, but 2.7 is known to work), or use a binary package built for your distribution instead. Linux (x86_64)
NOTE: If you have too old a version of libc, then you will get an error like "floating point exception" from the binaries in these bindists. You will need to either upgrade your libc (we're not sure what the minimum version required is, but 2.7 is known to work), or use a binary package built for your distribution instead. Windows (x86) (standalone)
This is a complete build, and should work for Microsoft Windows 2000, XP and Vista. It also includes support for compiling C++ files. This installer will not overwrite previous installed versions of GHC, with the exception that the default handler for .lhs and .hs files will point to the most recently installed version. MacOS X (Intel)
This is an installer for Mac OS X 10.5 (Leopard). The package requires Xcode 3.0 to be already installed. You can find Xcode 3.0 on your Leopard installation DVD (or at http://developer.apple.com/. Source Distribution
The source distribution needs an installed GHC (version 6.6 at least). If your platform isn't currently supported with a binary distribution, then you'll need to consult the section on Porting GHC in the Building Guide. If you have libraries installed somewhere non-standard then you will need to put something like this in mk/build.mk before building:
EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
--extra-lib-dirs=/usr/local/lib
|