Loading GHC into GHCi (reprise)

Thomas Miedema thomasmiedema at gmail.com
Mon Mar 14 11:08:37 UTC 2016


On Wed, Mar 9, 2016 at 7:33 PM, Ben Gamari <ben at well-typed.com> wrote:
>
> Unfortunately -fobject-code is necessary when loading GHC in GHCi as the
> bytecode interpreter doesn't support unboxed tuples, which various GHC
> modules use.
>

There's a ticket for that: https://ghc.haskell.org/trac/ghc/ticket/1257
("Bytecode generator can't handle unboxed tuples"). Fixing that would make
it much easier to use GHCi to load the compiler, and allow setting
breakpoints, make a change and use `:r` to reload etc. The ticket is closed
as wontfix however.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160314/5d51b222/attachment.html>


More information about the ghc-devs mailing list