On Fri, Jul 31, 2015 at 11:26 AM, Herbert Valerio Riedel <hvrie...@gmail.com> wrote: > Btw, I simply prepend to the $PATH env variable, or pass the appropriate > executable name to `cabal`'s > > -w --with-compiler=PATH give the path to a particular compiler
I don't understand, aren't they all in /usr/local/bin? Or do you use a version-specific prefix when installing each ghc version? Also, ghc is not just the compiler, but also hsc2hs hpc runghc ghci ghc-pkg haddock-ghc. At the least, ghc-pkg has to be the right version, but all of those are version specific since they'll break if you remove their /usr/lib/ghc-version. _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users