<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>
</div>Why not just use symbolic links? I too have multiple installations of ghc (at the moment, only two), and I choose between them using a symbolic link:<br>
<br>
book % ls -l /usr/local | grep ghc<br>
lrwxr-xr-x   1 root  wheel    10 Jan 12 00:05 ghc -&gt; ghc-6.12.1<br>
drwxr-xr-x   7 dave  wheel   238 Dec 25 10:46 ghc-6.10.4<br>
drwxr-xr-x   7 dave  wheel   238 Jan  8 21:52 ghc-6.12.1<br>
<br>
(/usr/local/ghc/bin is on my PATH.)<br>
<br>
My install scripts use the --prefix flag.</blockquote><div><br>This sounds very similar to what I do with multi-ghc. I just use a Bash
 script to manage the symlinks for me and a Makefile to do the configure/make install. That&#39;s really all multi-ghc is at the moment.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I also make the actual installations user-writeable, so that I DON&#39;T have to use sudo at any point after setting up the directories. This gives me a nice proof that no script I then call is messing up other parts of my system. (One can still accidentally still do something &quot;locally&quot;, creating an unannounced subdirectory of $HOME e.g. using cabal-install.)<br>



</blockquote><div><br> To sudo or not to sudo: doesn&#39;t matter to me (or multi-ghc). :)<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


GHC is way too important to be treated that way, so I follow (roughly) Nils&#39; strategy.<br></blockquote><div><br>The use of stow also seems similar, though perhaps more general. I currently keep track of the &quot;current&quot; GHC, and it seems stow may not do that, though I doubt it should be difficult to extend.<br>


<br>Regards,<br>Sean<br></div></div>