Changes between Version 4 and Version 5 of Building/Preparation/MacOSX


Ignore:
Timestamp:
Nov 13, 2013 1:43:23 AM (22 months ago)
Author:
carter
Comment:

adding more information about mac woes

Legend:

Unmodified
Added
Removed
Modified
  • Building/Preparation/MacOSX

    v4 v5  
    11= Setting up a MacOS X system for building GHC =
    22
    3 You will need to install [http://mxcl.github.com/homebrew/ Homebrew] for getting some of the tools needed. Homebrew is recommended over other systems on OS X such as !MacPorts and Fink.
     3You will need to install several tools, using one of  [http://mxcl.github.com/homebrew/ Homebrew]  !MacPorts or Fink.
    44
    55== Xcode (GCC) ==
     
    1616   * At the [http://developer.apple.com/downloads downloads page of Apple Developer], download the latest "Command line tools".
    1717   * Install them.
     18
     19Note well: XCode 5 doesn't come with a real GCC, and currently GHC builds most easily if you use GCC rather than clang. Note also that Xcode 5 installs a "gcc" thats actually an alias for Clang.   You will need to install a real GCC, and make sure the gcc in your path points to a real gcc, or alternatively points to one of the "clang-wrapper" scripts that are available. Again, using a real GCC will be much simpler.
    1820
    1921In both cases, you need to [https://developer.apple.com/programs/register/ register] as an Apple developer first (free).
     
    3234
    3335  1. Install the [http://www.haskell.org/platform/ Haskell Platform].
    34   2. Install via Homebrew: `brew install ghc` OR `brew install haskell-platform`.
    35   3. Install a [http://www.haskell.org/ghc/download binary distribution from GHC].
     36  2. Install a [http://www.haskell.org/ghc/download binary distribution from GHC].
     37  3. Use one of Fink, MacPorts or Brew.   If using brew, we strongly recommend using Darin's [https://github.com/darinmorrison/homebrew-haskell brewtap]   for ghc
    3638
    3739'''NB:''' You need to use a binary distribution of GHC 7.4.1 (or later) as your bootstrap compiler.