Dev work flows are more complicated depending on the goal and sub system. And I've slightly more practice with erring on the side of release style builds. <div><br></div><div>Erikd gave some good suggestions that the build steps should be turned on a s self contained script or make file so that its more robust against bit rot, so I'll look into it this weekend.  <span></span><br><br>On Friday, April 29, 2016, Adam Sandberg Eriksson <<a href="mailto:adam@sandbergericsson.se">adam@sandbergericsson.se</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do we really need hscolour when using haddock with --hyperlinked-source?<br>
<br>
Also, a section on building for development (which is what I believe the current instructions are aimed at) would be nice!<br>
<br>
I very much welcome this clean up!<br>
<br>
Cheers,<br>
Adam<br>
<br>
> On 29 Apr 2016, at 02:24, Carter Schonwald <<a href="javascript:;" onclick="_e(event, 'cvml', 'carter.schonwald@gmail.com')">carter.schonwald@gmail.com</a>> wrote:<br>
><br>
> i also added mention of invoking ulimit before make to work around a current bug in haddock resource usage when generating hyperlinked-source files for all of ghc :)<br>
><br>
> On Thu, Apr 28, 2016 at 8:22 PM, Carter Schonwald <<a href="javascript:;" onclick="_e(event, 'cvml', 'carter.schonwald@gmail.com')">carter.schonwald@gmail.com</a>> wrote:<br>
> 1) done<br>
><br>
> 2) steps 12,13,15 are specific to git checkout,  step 14 is still necessary!<br>
> a) hyperlinked-source is not enabled by default for the boot libs and ghc source, which is AMAZING to have<br>
> b) buliding the pdf version of the user guide isn't enabled by default<br>
> c)  if you have gmp lib somewhere installled in userland, ghc will by default pick that instead of doing in tree gmp, and on mac if you want to share you executables, that a no go!<br>
> d) unrelatedly, it seems that ghc build no longer includes the haddock manual in html/pdf form as it used to<br>
><br>
> 3/4)  i think we shouldn't make any assumptions about the path and what gcc/clang is where / shows up first, or at least that choice should be explicit :),  good point on the --with-nm idea<br>
><br>
> 5) i prefer not mentioning sudo ever in directions, and i actually these days install my various ghc versions into paths like ~/.install-ghc/$GHCVERSION :),  and certain prefixes may or may not be locked down on recent osx it seems :)<br>
><br>
> On Thu, Apr 28, 2016 at 7:25 PM, George Colpitts <<a href="javascript:;" onclick="_e(event, 'cvml', 'george.colpitts@gmail.com')">george.colpitts@gmail.com</a>> wrote:<br>
> Thanks for working on this!<br>
><br>
> fwiw, my comments:<br>
><br>
>       • It would be good to provide a link to the current doc so we can compare with that.<br>
>       • Steps 12, 13, 14 and 15 are only necessary if you are building from  a fresh git checkout, not necessary if  you're building from source tree tarball from a release candidate , right?<br>
>       • If your path is set so that the gcc you want  to use is one it specifies than you don't need either of the two (!!) step 16s, at least in my experience.<br>
>       • For step 17, in my experience, I don't have to use --with-gcc .... For with-nm the best way to specify is as Brandon wrote --with-nm=$(xcrun --find nm-classic)<br>
>       • After either 18 or 19 it would probably be good to mention the option of doing sudo make install<br>
> Thanks for jumping on this, the old doc definitely needs updating<br>
><br>
> Cheers<br>
> George<br>
><br>
> On Thu, Apr 28, 2016 at 7:24 PM Carter Schonwald <<a href="javascript:;" onclick="_e(event, 'cvml', 'carter.schonwald@gmail.com')">carter.schonwald@gmail.com</a>> wrote:<br>
> Woops forgot to link them this morning<br>
><br>
> <a href="https://gist.github.com/cartazio/32038db09222a2aac767cb5c03b406c6" target="_blank">https://gist.github.com/cartazio/32038db09222a2aac767cb5c03b406c6</a><br>
><br>
> Feedback would be appreciated.<br>
> And still need to mention cabal install hscolour :)<br>
><br>
> Pardon the noise and feedback would be appreciated!<br>
><br>
> On Thursday, April 28, 2016, Carter Schonwald <<a href="javascript:;" onclick="_e(event, 'cvml', 'carter.schonwald@gmail.com')">carter.schonwald@gmail.com</a>> wrote:<br>
> Hey all:<br>
> I've drafted some hopefully cleaner Mac build directions and I'd love some feedback on them<br>
><br>
> Nb: I think I forgot to mention the cabal install hscolour step, I'll add that<br>
><br>
> -Carter<br>
><br>
><br>
> _______________________________________________<br>
> ghc-devs mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'ghc-devs@haskell.org')">ghc-devs@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
<br>
</blockquote></div>