Version 2 (modified by jhenahan, 6 years ago) (diff)


Building GHC from GitHub Sources

Repo Location

Getting the Sources

First, go to the GHC repo and create a fork for your account. Then,

$ git clone<username>/ghc.git
$ cd ghc
$ ./sync-all -r get
$ ./boot
$ autoconf
$ ./configure <flags>
$ make
$ make install

Make sure to read the config log before building to check for warnings. Use ./configure --help for options.