
On Apr 16, 2013, at 3:43 AM, Christian Maeder
What is the exact command to get the relevant ghc sources.
First, make sure that your installed GHC is *not* a snapshot distribution, but one of the main releases (such as 7.6.1 or 7.6.2). You may also want to check out http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation to make sure you have all the needed software. Then, go somewhere convenient on your computer, and run this (assuming Linux/Mac OS): git clone http://darcs.haskell.org/ghc.git; cd ghc; ./sync-all --testsuite get; perl boot; ./configure; make At the end of that (will probably take about an hour), you will have ghc available in <your convenient location>/ghc/inplace/bin/ghc-stage2 I believe you can use a --with-ghc=... option to cabal to install packages with an uninstalled ghc. Or, you could use a --prefix=... option to ./configure, above, and then run `make install` after building. I hope this helps! Richard