Changes between Version 38 and Version 39 of Building/MacOSX


Ignore:
Timestamp:
Dec 20, 2012 12:02:53 AM (3 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/MacOSX

    v38 v39  
    99== Building the distribution ==
    1010
    11 Install a binary GHC distribution: either from a bindist (.tar.bz2) or from an installer (.pkg).
     11See the general [wiki:Building/QuickStart build instructions].
    1212
    13 Download the source tarball from http://haskell.org/ghc/download.html
    14 
    15 Untar it and change into the directory it unpacks into. Then run
    16 {{{
    17 ./configure
    18 make
    19 }}}
    20 to build it.
    21 
    22 You can then either install it, with
    23 {{{
    24 make install
    25 }}}
    26 or make a binary distribution with
    27 {{{
    28 make binary-dist
    29 }}}
    30 
    31 == Building installer packages ==
     13== Building OS X Installer Packages ==
    3214
    3315After making the binary-dist, you can create a Mac installer package (.pkg) by running
     
    3921
    4022More details about [wiki:Building/MacOSX/Installer building installer packages] are available.
    41 
    42 == Building using !MacPorts ==
    43 
    44 ghc 6.6 can be built from source using [http://macports.org MacPorts] on Intel and PowerPC Macs.
    45 Follow the instructions on the !MacPorts website for installing the infrastructure and port files,
    46 then type
    47 
    48 {{{ > sudo port install ghc }}}
    49 
    50 to build and install ghc.  Dependencies will be built and installed automatically. There is
    51 no need to follow the instructions above for installing readline; this is handled by
    52 !MacPorts dependency mechanism.  If you want to see how the build is progressing, type
    53 
    54 {{{ > sudo port -dv install ghc }}}
    55 
    56 The "-dv" flags indicate verbose debugging output.  Using these can also help diagnose build problems.
    57 
    58 If the build is interrupted or fails for some reason you must clean up before trying again. Do
    59 
    60 {{{ > sudo port clean ghc }}}
    61 
    62 before restarting.
    63 
    64 A nice feature of !MacPorts is that you can put its installation directory tree anywhere.
    65 This allows installations without administrator privileges.
    6623
    6724== Case insensitivity ==