ghc7.0.4:
> ./configure --prefix=~/.myghc
> make install
需要cabal
下载cabal 1.10.1.0,解压
> runghc Setup.hs configure --user
> runghc Setup.hs build
> runghc Setup.hs install
haskell platform 2010.2.0.1:
解压后修改configure脚本, 把7.0.3 替换为7.0.4
> ./configure --prefix=~/.myhspf
> make && make install
#在~/.bashrc 中加入以上两个PATH.
阅读(841) | 评论(0) | 转发(0) |