
20 Apr
2007
20 Apr
'07
7:05 a.m.
I modified your script so that it retrieves ghc 6.6 and, instead of all the extra packages, only the unix package. Note that you probably want to include some other extra packages, for instance the mtl package. Untested:
#!/bin/sh darcs get --partial http://darcs.haskell.org/ghc-6.6/ghc cd ghc chmod +x darcs-all ./darcs-all get
darcs get --partial http://darcs.haskell.org/ghc-6.6/packages/unix/ libraries/unix
cd .. mkdir ghcbuild cd ghcbuild lndir ../ghc autoreconf
./configure make su -c 'make install'