<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 3:06 AM, Herbert Valerio Riedel <span dir="ltr"><<a href="mailto:hvriedel@gmail.com" target="_blank">hvriedel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2014-12-09 at 23:47:01 +0100, Greg Weber wrote:<br>
> I added documentation to<br>
> <a href="https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux</a> and linked<br>
> from <a href="https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/MacOSX" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/MacOSX</a><br>
<br>
</span>Btw, you write<br>
<br>
> This way you can still hack on GHC with Emacs, etc, but you are just<br>
> building from the docker container.<br>
<br>
...does that mean you can't invoke `make` directly from within Emacs via<br>
`M-x haskell-compile`?<br></blockquote><div><br></div><div>The build needs to happen from the docker container.</div><div>So you would need to modify your make command to run the container.</div><div><br></div><div>   docker run `pwd`:/home/ghc gregweber/ghc-haskell-dev make</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'm still trying to understand what you meant exactly by "too high an<br>
overhead to getting started" with GHC development (as I don't consider<br>
having to basically `apt-get install ...` (and possibly `cabal install<br>
...` if your distribution doesn't have a recent alex/happy package) such<br>
a high overhead to get your system able to compile a cloned GHC source<br>
tree)<br></blockquote><div><br></div><div>Hacking on GHC for the first time is death by a thousand cuts.</div><div>Any one part of the process is not that bad, but as a whole the process is very cumbersome for someone new.</div><div><br></div><div>Running an apt-get line is not too bad if it actually works.</div><div>The apt-get instructions on the wiki did not list all of the development dependencies (it may now since I updated the documentation).</div><div>It also doesn't mention arc (that is on a different page and a more manual installation).</div><div><br></div><div>As a casual contributor though, my first thought is to question whether I want to install more dependencies.</div><div>They will clutter my system since I won't remember to remove them later and they could end up conflicting with another project.</div><div>Using a sandbox removes this hesitation.<br></div><div><br></div><div>Again, this is just the first step to using GHC, by itself it is not that bad, but there is much more to the process for a newcomer.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So I'd like to identify what you consider an overhead to improve the<br>
underlying issues to make it easier for interested parties to get up and<br>
running with GHC development.<br>
<br>
Cheers,<br>
  hvr<br>
</blockquote></div><br></div></div>