Changes between Version 29 and Version 30 of Building/QuickStart


Ignore:
Timestamp:
Nov 22, 2016 2:46:41 AM (5 months ago)
Author:
Rufflewind
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/QuickStart

    v29 v30  
    33Below are quick instructions for '''just building and installing GHC'''. If you are an aspiring GHC developer, read the [wiki:Newcomers Newcomers] page instead.
    44
    5 The following instructions assume that you have [wiki:Building/GettingTheSources got the sources] and [wiki:Building/Preparation installed the necessary tools].
     5The following instructions assume that you have [wiki:Building/GettingTheSources got the sources] and [wiki:Building/Preparation installed the necessary tools].  In particular for Windows users, all the commands below must be executed in the MinGW shell, not Command Prompt or PowerShell.
    66
    7 If you are starting from a `git` checkout then:
     7Optionally, you customize your build by creating the file `mk/build.mk` using `mk/build.mk.sample` as a template.
    88
    9 {{{
     9If you obtained the repository via `git clone --recursive`, you will need to first run:
     10
     11{{{#!sh
    1012$ ./boot
    1113}}}
    1214
    13 (this step isn't necessary if you have a source distribution).
     15,,This step isn't necessary if you obtained the source from a tar archive.,,
    1416
    15 Next on non-Windows:
     17Next, run the `./configure` script followed by `make` to start the build:
    1618
    17 {{{
    18 $ ./configure
     19{{{#!sh
     20$ ./configure # Windows users must append "--enable-tarballs-autodownload"
    1921$ make
    2022}}}
    2123
    22 On Windows:
     24,,On Windows you need to download some binary distributables before being able to build.  This only has to be done once and can be done by adding the `--enable-tarballs-autodownload` flag to the call to `./configure`.,,
    2325
    24 NOTE: On Windows you need to download some binary distributables before being able to build.
    25 This only has to be done once and can be done by adding a flag to the call to configure
    26 {{{
    27 $ ./configure --enable-tarballs-autodownload
    28 $ make
    29 }}}
    30 
    31 This will do a 2-stage bootstrap build of the compiler, with profiling libraries.
     26By default (without any `mk/build.mk` customization), this will do a 2-stage bootstrap build of the compiler, with profiling libraries.
    3227
    3328== Run without installing ==
    3429
    35 You can find the binaries built by make in `inplace` directory under the root of the ghc source tree. The binaries can be run from here without installing.
     30You can find the binaries built by make in the `inplace/bin` directory under the root of the ghc source tree. The binaries can be run from here without installing.
    3631
    3732== Installing ==
     
    3934After building, to install GHC (by default in `/usr/local`):
    4035
    41 {{{
     36{{{#!sh
    4237$ make install
    4338}}}
     39
     40You may need to use `sudo`.