Changes between Version 28 and Version 29 of Building/Prerequisites


Ignore:
Timestamp:
Mar 10, 2009 11:33:25 AM (5 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Prerequisites

    v28 v29  
    3838== Preparing a Windows system == 
    3939 
    40 See [wiki:Building/Windows].  !ToDo: move the relevant parts of the docs here. 
     40Installing the following will get you a working build environment with MSYS (ToDo: add Cygwin).  For your convenience we've cached a working set of build tools that you can download. 
     41 
     42 * First install a recent stable version of [http://www.haskell.org/ghc/download.html GHC]. 
     43 * Install MinGW: [http://www.haskell.org/ghc/tools/Win32/MinGW-5.1.4.exe] 
     44 * Install MSYS:  
     45   * [http://www.haskell.org/ghc/tools/Win32/MSYS-1.0.10.exe] 
     46   * [http://www.haskell.org/ghc/tools/Win32/msysDTK-1.0.1.exe] 
     47   * [http://www.haskell.org/ghc/tools/Win32/msysCORE-1.0.11-20080826.tar.gz] (this is a tar file, which you have to unpack in `c:/msys/1.0`, or wherever you installed MSYS.  Note that you can't do that using an MSYS shell, because you can't overwrite the files in use, so make a copy of `c:/msys/1.0`, unpack it there, and then rename the copy back to `c:/msys/1.0`). 
     48 
     49The next three are just zip files, you can unpack them wherever you like, but you need to ensure that the programs can be found on your `PATH`.  I usually put all these in `c:/tools` (NB. don't put them anywhere in `c:/msys`, that's special). 
     50 
     51 * Install Happy: [http://www.haskell.org/ghc/tools/Win32/happy-1.17.zip] 
     52 * Install Alex: [http://www.haskell.org/ghc/tools/Win32/alex-2.2.zip] 
     53 * Install Haddock: [http://www.haskell.org/ghc/tools/Win32/haddock-0.8-Win32.zip] 
     54 
     55Now set your `PATH`.  We recommend doing this by creating a file `.profile` in your home directory (by default `c:/msys/1.0/home/<username>`).  The contents of your `.profile` should be something like this: 
     56 
     57{{{ 
     58PATH=/c/mingw/bin:/usr/bin:/bin:/c/ghc/ghc-6.10.1/bin:/c/tools:/c/windows/system32 
     59}}} 
     60 
     61Modify the above according to where you installed things, and change the GHC version appropriately. 
     62 
     63See also [wiki:Building/Windows]. 
    4164 
    4265== Preparing a MacOS X system ==