HP 2013.2 and GHC 7.6.2
Christian Maeder
Christian.Maeder at dfki.de
Tue Apr 16 15:18:01 CEST 2013
Am 16.04.2013 14:29, schrieb Richard Eisenberg:
>
> On Apr 16, 2013, at 3:43 AM, Christian Maeder <Christian.Maeder at dfki.de> wrote:
>>
>> 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
Thanks, for this. Do I need to give a branch name (which one?) to the
"git clone" command (option -b)?
C.
>
> 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
>
More information about the Libraries
mailing list