[Haskell-cafe] How best to make GHC 6.6 and 6.8 co-exist on one
stevelihn at gmail.com
Sat Jan 19 10:47:20 EST 2008
It appears some of the latest hackages are moving towards 6.8 to take
advantage of the new features, while quite a few remains at 6.6. The
compatibility between the two versions has been problematic. I only
have 6.6 installed, but now thinking to add 6.8 to my account (so I
can switch between them, depending what works where).
What is the best practice to make 6.8 co-exist with 6.6 ? Specific
1) I installed 6.6 under prefix=$HOME/ghc. If I install 6.8 to the
same prefix, it will overwrite 6.6. Correct? How do I get around it?
2) I installed additional tools and packages under $HOME/htools using
6.6. (Which I begin to wonder if that is necessary.) Do I have to use
a different directory for 6.8? I noticed that, for each package, the
path is $HOME/htools/lib/<package-ver>/ghc-6.6.1/ etc etc. It seems
that 6.8 will create subdirectories, so they can co-exist peacefully.
More information about the Haskell-Cafe