
9 Mar
2008
9 Mar
'08
8:25 p.m.
On Mon, 2008-03-10 at 01:37 +0200, Yitzchak Gale wrote:
Duncan Coutts wrote:
It will use whichever is the ghc-6.8.2 on the $PATH.
They'll both be in $PATH. So do you mean the first one? Will that work consistently throughout the install process?
Yep.
Second question: When I install packages, both copies of GHC 6.8.2 will want to install them into /usr/local. Cabal uses directory names like "ghc-6.8.2" to keep installations for different compilers separate from each other. But what if both of the compilers are called "ghc-6.8.2"?
Then they will clash. Don't do that :-)
Ouch. I was afraid of that. This is going to be tricky.
Remember of course that you can do per-user installs. Indeed it's much easier, cabal-install does that by default. Duncan