Changes between Version 4 and Version 5 of Building/QuickStart


Ignore:
Timestamp:
Mar 16, 2009 10:42:16 AM (6 years ago)
Author:
simonmar
Comment:

include Windows instructions

Legend:

Unmodified
Added
Removed
Modified
  • Building/QuickStart

    v4 v5  
    66 
    77No problem.  This recipe should build and install a working GHC with 
    8 all the default settings.  (unless you're on Windows, in which case go 
    9 to [wiki:Building/Windows]). 
     8all the default settings. 
    109 
    1110The following instructions assume that you have [wiki:Building/GettingTheSources got the sources] (note: not just a `darcs get`) and [wiki:Building/Prerequisites installed the necessary tools]. 
     
    1918(this step isn't necessary if you have a source distribution). 
    2019 
    21 Now, everybody: 
     20Windows users: 
     21 
     22{{{ 
     23$ ./configure --host=i386-unknown-mingw32 
     24      --with-gcc=c:/mingw/bin/gcc 
     25      --with-ld=c:/mingw/bin/ld.exe 
     26}}} 
     27 
     28where `c:/mingw` should be replaced by the place you installed MinGW, if you installed it somewhere other than the default. 
     29 
     30Non-Windows users can just say: 
    2231 
    2332{{{ 
    2433$ ./configure 
     34}}} 
     35 
     36Now everybody: 
     37 
     38{{{ 
    2539$ make 
    2640$ make install 
    2741}}} 
    2842 
    29 For GHC, this will do a 2-stage bootstrap build of the compiler, with 
     43This will do a 2-stage bootstrap build of the compiler, with 
    3044profiling libraries, and install the results in the default location 
    3145(under {{{/usr/local}}} on Unix, for example).