Show instances for GHC internals

Richard Eisenberg eir at cis.upenn.edu
Mon Oct 19 22:14:43 UTC 2015


On Oct 19, 2015, at 5:18 PM, Ömer Sinan Ağacan <omeragacan at gmail.com> wrote:

> cost
> of debugging this way is huge, given how long it's taking to rebuild GHC)

There are more interesting parts of your post, but I can respond to this: It shouldn't take that much time. Once you have ghc-stage2 built, you should be able to say `make 2` in the ./ghc subdirectory and get a new binary in a few seconds.

Using `make 1` in the ./compiler subdirectory works similarly for the stage1 compiler. But only once it's built the first time.

Richard


More information about the ghc-devs mailing list