Changes between Version 28 and Version 29 of Building/Preparation/Windows


Ignore:
Timestamp:
Aug 8, 2012 10:16:16 AM (3 years ago)
Author:
simonmar
Comment:

update Windows instructions

Legend:

Unmodified
Added
Removed
Modified
  • Building/Preparation/Windows

    v28 v29  
    11= Setting up a Windows system for building GHC =
    22
    3 Installing the following will get you a working build environment with MSYS. The instructions are current for GHC 7.2.
     3Installing the following will get you a working build environment with MSYS. The instructions are current for GHC 7.6.
    44
    55Other documentation for Windows includes:
     
    1010== Setting up Windows ==
    1111
    12 1. We don't recommend installing anything into a directory path that contains spaces.
    13 
    14 2. You will need to install the following tools:
     121. '''Install the following tools:'''
    1513
    1614 * [http://hackage.haskell.org/platform/ Haskell Platform]
     
    1917 * [http://www.llvm.org/releases/download.html LLVM] (Optional, for using GHC's LLVM backend, grab the file called 'LLVM Binaries for Mingw32/x86')
    2018
    21 3. You will need to install the MinGW and MSYS tools:
     19 We recommend using the '''default install locations''' for all these tools.  If you choose your own paths, then we recommend not using a path containing spaces if the default did not have spaces.
    2220
    23  * [http://www.mingw.org/ MinGW with MSYS]
     212. '''Install the MinGW and MSYS tools:'''
    2422
    25 MinGW provides a windows version of GCC while MSYS provides a minimal UNIX environment (e.g bash, make... ect). The website for MinGW is a little confusing, go to the [http://www.mingw.org/wiki/Getting_Started getting started] page and follow the download instructions for the 'mingw-get-inst' installer. This is an easy to use single executable for installing both MinGW and MSYS, make sure when you run it that you select to install g++, MSYS and the MSYS Dev Kit.
     23MinGW provides a windows version of GCC while MSYS provides a minimal UNIX environment (e.g bash, make... ect). The website for MinGW is totally confusing, so go here:
    2624
    27 4. Launch the shell by starting the 'MinGW Shell' which should be in your start menu.
     25 * [http://www.mingw.org/wiki/Getting_Started Mingw/MSYS Getting Started]
    2826
    29 5. Set your `PATH`.  We recommend doing this by creating a file `.profile` in your home directory (by default `c:/MinGW/msys/1.0/home/<username>`). The contents of your `.profile` should be something like this:
     27and follow the download instructions for the '''mingw-get-inst''' installer. This is an easy to use installer for installing both MinGW and MSYS.   Make sure when you run the installer that you '''select to install g++, MSYS and the MSYS Dev Kit'''.
     28
     293. '''Set your `PATH`'''. We recommend doing this by creating a file `.profile` in your home directory (by default `c:/MinGW/msys/1.0/home/<username>`). The contents of your `.profile` should be something like this:
    3030
    3131{{{
     
    3939Modify the above according to where you installed Git and Python. The Haskell platform installer should have already done the work needed to make GHC available on the path.
    4040
    41 6. You should now have a working environment for getting the source for GHC and building it!
     414. '''Launch the shell''' by starting the 'MinGW Shell' which should be in your start menu.
     42
     43
     44You should now have a working environment for getting the source for GHC and building it!
    4245
    4346== Disable realtime virus-scanning for your build ==