Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. More than one GHC version installed (Paulo Pocinho)
2. Re: More than one GHC version installed (Paulo Pocinho)
----------------------------------------------------------------------
Message: 1
Date: Thu, 6 Oct 2011 15:17:26 +0100
From: Paulo Pocinho <[email protected]>
Subject: [Haskell-beginners] More than one GHC version installed
To: [email protected]
Message-ID:
<cak4i1qt5xszypdx4tqbdhngmqenuc17rp-4cbrlhw4tklxp...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi.
I'd like to know if it is possible to have a separate install
directory with GHC 7.0.4 and another with GHC 7.2.1 in the same
Windows system. I was thinking about having a standard PATH
environment "C:\Haskell\ghc\bin". Then have a folder structure like
"C:\Haskell\ghc-{7.2.1, 7.0.4}", renaming either one of them into
"C:\Haskell\ghc" depending on what I would like to be using.
I have taken into consideration to renaming the cabal install
directory in the same manner. However, the problem with this approach
is that the package database remains somewhere I can't find. Does the
default GHC store the package database in the registry or something?
I'd appreciate if you could hint me where I could swap the databases
for this setup.
------------------------------
Message: 2
Date: Thu, 6 Oct 2011 15:48:11 +0100
From: Paulo Pocinho <[email protected]>
Subject: Re: [Haskell-beginners] More than one GHC version installed
To: [email protected]
Message-ID:
<CAK4i1qSd-c=ewf983vftetq7_se9if8rdck9d3rjre2_pwg...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Quick update. I figured it out. There was a directory which didn't get
removed, toghether with cabal directory, when I uninstalled all GHC
versions.
I found the global package database actually goes into
C:\Users\<username>\AppData\Roaming\ghc\<ghc-version>. A bit strange,
considering the "local" packages get installed into C:\Program
Files\Haskell\ instead of the local user directories.
Perhaps it is a bug?
On 6 October 2011 15:17, Paulo Pocinho <[email protected]> wrote:
> Hi.
>
> I'd like to know if it is possible to have a separate install
> directory with GHC 7.0.4 and another with GHC 7.2.1 in the same
> Windows system. I was thinking about having a standard PATH
> environment "C:\Haskell\ghc\bin". Then have a folder structure like
> "C:\Haskell\ghc-{7.2.1, 7.0.4}", renaming either one of them into
> "C:\Haskell\ghc" depending on what I would like to be using.
>
> I have taken into consideration to renaming the cabal install
> directory in the same manner. However, the problem with this approach
> is that the package database remains somewhere I can't find. Does the
> default GHC store the package database in the registry or something?
> I'd appreciate if you could hint me where I could swap the databases
> for this setup.
>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 40, Issue 7
****************************************