< Home

Download the Mac OS X installer here:

After downloading:


Xcode 5 & OS X 10.9 (Mavericks)

Xcode 5 no longer includes gcc. GHC 7, whether installed directly or via Haskell Platform, can be made to work with this wrapper script:

  1. Copy this script to /usr/bin, and make sure it is exectuable.
  2. Run it sudo. (Running without sudo will tell you what it would do if you did.)

Xcode 5 supplies clang as the C compier, and with respect to pre-processing there are some "differences of interpretation" between it and gcc. These differences can affect some Haskell code that uses the CPP extension. An alternate approach for users with Xcode 5 is to install a gcc and direct GHC at that. See this page for instructions.


Notes:

Only one architecture (32-bit or 64-bit) can be installed at a time.

The command line development tools are required prior to installation.
If you have /usr/bin/gcc available in a shell, you should be good to go. If not:

MacPorts, brew, and other native libraries:

For Mac OS X 10.5 please use the 2010.2.0.0 installer:


Prior releases