docker GHC image for hacking

Christopher Reichert creichert07 at gmail.com
Wed Dec 10 16:07:30 UTC 2014


On Wed, Dec 10 2014, Herbert Valerio Riedel <hvriedel at gmail.com> wrote:
> On 2014-12-09 at 23:47:01 +0100, Greg Weber wrote:
>> I added documentation to
>> https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux and linked
>> from https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/MacOSX
>
> Btw, you write
>
>> This way you can still hack on GHC with Emacs, etc, but you are just
>> building from the docker container.
>
> ...does that mean you can't invoke `make` directly from within Emacs via
> `M-x haskell-compile`?
>


I'm confused by this. Is it possible to compile ghc with haskell-compile
(e.g. cabal build)? Or did you simply mean 'compile (e.g. `make` as you
said). When I use haskell-compile I get errors[0] whereas make builds
cleanly.


For what it's worth, I usually have a very easy time setting up and
building ghc. Navigating and testing the code is a bit more difficult
for me. The tricky part was remembering to update my build.mk to compile
stage 2 only after the initial make.



Regards,

[0] - Module `Packages` does not export `pprPackages`...


--
Christopher Reichert
irc: creichert
gpg: C81D 18C8 862A 3618 1376  FFA5 6BFC A992 9955 929B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141210/ab531ec6/attachment.sig>


More information about the ghc-devs mailing list