... | @@ -93,6 +93,7 @@ Note: `--strip-components=1` places everything within the archive's "ghc-7.10.1" |
... | @@ -93,6 +93,7 @@ Note: `--strip-components=1` places everything within the archive's "ghc-7.10.1" |
|
Building GHC requires [ Alex](http://www.haskell.org/alex/) and [ Happy](http://www.haskell.org/happy/). It is easiest to install them using cabal. We will also put them in `/usr/local` to make sure that they end up on `$PATH`.
|
|
Building GHC requires [ Alex](http://www.haskell.org/alex/) and [ Happy](http://www.haskell.org/happy/). It is easiest to install them using cabal. We will also put them in `/usr/local` to make sure that they end up on `$PATH`.
|
|
|
|
|
|
```wiki
|
|
```wiki
|
|
|
|
mkdir -p /usr/local/bin &&
|
|
curl -L https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin && # for some version of cabal you may need to rename the exe to cabal.exe
|
|
curl -L https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin && # for some version of cabal you may need to rename the exe to cabal.exe
|
|
cabal update &&
|
|
cabal update &&
|
|
cabal install -j --prefix=/usr/local alex happy
|
|
cabal install -j --prefix=/usr/local alex happy
|
... | | ... | |