Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 3d86197

Browse files
committed
Add GHC 7.2.1 instructions to HACKING
1 parent 039bfa7 commit 3d86197

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

HACKING

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
== Becoming a Pugs Hacker
2+
13
0) Join #perl6 on irc.freenode.net
24

3-
1) Get a commit bit
5+
1) Ask for a commit bit
46

57
2) Clone Pugs.hs from the perl6 organization on GitHub.
68

79
git clone git@github.com:perl6/Pugs.hs.git
810

911
3) Follow INSTALL instructions to get deps installed
1012

13+
Or follow debian instructions for bleeding edge GHC below!
14+
1115
4) Hack hack hack!
1216

1317
5) Compile
@@ -17,3 +21,28 @@
1721
make install # installs ./pugs as pugs and perl6 executables
1822

1923
6) What was the big deal?
24+
25+
== Installing the latest GHC on a Debian system
26+
27+
The current GHC (7.2.1) has some growing pains, but follow these instructions
28+
and you should be fine:
29+
30+
# Choose 32bit or 64bit
31+
GHC=ghc-7.2.1-i386-unknown-linux.tar.bz2
32+
GHC=ghc-7.2.1-x86_64-unknown-linux.tar.bz2
33+
34+
curl -O http://www.haskell.org/ghc/dist/7.2.1/$GHC
35+
tar -xjvf $GHC
36+
cd ghc-7.2.1
37+
./configure
38+
sudo make install
39+
cd -
40+
curl -O http://hackage.haskell.org/packages/archive/cabal-install/0.10.2/cabal-install-0.10.2.tar.gz
41+
tar -xzvf cabal-install-0.10.2.tar.gz
42+
cd cabal-install-0.10.2
43+
curl -O http://hackage.haskell.org/trac/hackage/raw-attachment/ticket/872/ghc7.diff
44+
patch -p0 cabal-install.cabal ghc7.diff
45+
sh bootstrap.sh
46+
export PATH=$HOME/.cabal/bin:$PATH
47+
cabal update
48+
cabal install Pugs

0 commit comments

Comments
 (0)