Changes between Version 5 and Version 6 of Newcomers


Ignore:
Timestamp:
Aug 10, 2013 11:09:31 AM (21 months ago)
Author:
hvr
Comment:

Improve markup to allow direct copy & paste of shell fragments; recommend git:// protocol by default

Legend:

Unmodified
Added
Removed
Modified
  • Newcomers

    v5 v6  
    88 
    99* While you're reading that article, download and build the sources. [wiki:Building/Preparation Prepare] your machine, [wiki:Building/GettingTheSources download] the source, and [wiki:Building/QuickStart build]. For the short, short version, which may or may not work for your machine, you can try this (note that three commands are not meant to be taken literally!): 
     10{{{ 
     11#!sh 
     12# clone GHC's main Git repository (creates './ghc' folder in CWD) 
     13git clone git://darcs.haskell.org/ghc.git   # see note below 
     14cd ghc/ 
     15./sync-all -r git://darcs.haskell.org --testsuite get 
    1016 
    11 {{{ 
    12 > <<<<<change to the directory where you want ghc to live>>>>> 
    13 > git clone http://darcs.haskell.org/ghc.git 
    14 > cd ghc 
    15 > ./sync-all --testsuite get 
    16 > cd mk 
    17 > cp build.mk.sample build.mk 
    18 > <<<<<edit build.mk to remove the comment marker # on the line "BuildFlavour = quick">>>>> 
    19 > cd .. 
    20 > perl boot 
    21 > ./configure 
    22 > make -j<<<<<number of processors on your machine>>>>> 
     17# configure build 
     18cd mk 
     19cp build.mk.sample build.mk 
     20## edit build.mk to remove the comment marker # on the line "BuildFlavour = quick" 
     21cd .. 
     22perl boot 
     23./configure 
     24 
     25# build GHC 
     26make -j8 # parallelize to at most 8 parallel jobs; adapt to actual number of cpu cores 
    2327}}} 
     28 
     29  Note: replace `git://` by `http://` in the comments above if you're behing a firewall blocking port 9418 
    2430 
    2531  If your machine has all the prerequisites, this might just work. Expect it all to take roughly an hour.