Question about updating GHC on MacOS

Hi, I have Haskell Platform with GHC[i] 7.4.2 installed on a MacOS system. There's a problem with the handling of certain Markdown constructs in literate Haskell (lines starting with '#') that I understand is fixed in 7.6.2. Therefore, I'd like to be able to update my GHC installation to 7.6.2. But I haven't yet been able to find any instructions about how to upgrade an existing GHC installation. Am I missing something? #g --

I don't think so. However, you can install the OS X binaries for ghc 7.6.2
and make that sit just next to your Haskell Platform install. You can even
use your existing cabal-install to install packages for the freshly
installed ghc by doing 'cabal install foo --with-ghc=/path/to/ghc'. Just
watch which ghc does become the default (it's a matter of replacing a
symlink) and that it satisfies you.
On Thu, Mar 7, 2013 at 10:50 PM, Graham Klyne
Hi,
I have Haskell Platform with GHC[i] 7.4.2 installed on a MacOS system. There's a problem with the handling of certain Markdown constructs in literate Haskell (lines starting with '#') that I understand is fixed in 7.6.2.
Therefore, I'd like to be able to update my GHC installation to 7.6.2. But I haven't yet been able to find any instructions about how to upgrade an existing GHC installation. Am I missing something?
#g --
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
-- Alp Mestanogullari

From my $0.2 experience, if you are planning of having multiple GHC installation, it would be better to do a fresh install using the bootstrapped GHC you can find on the website. Roughly I have done this way (on my Mac and on My EC2 instance):
(inside a ghc bootstrapped folder)
./configure --prefix=~/Library/Haskell/ghc-xxx (where xxx is the version)
make install
(then inside ~/Library/Haskell)
ln -s ghc-xxx current
ln -s current/bin bin
This way my current GHC is pointing to current inside
~/Library/Haskell/current and my bin are updated accordingly (make sure to
add /bin to your $PATH!). Then you install cabal-install and you are pretty
much sorted. The advantage of this approach is that you have the control
over the installation process, but other suggestion (like Alp's one) are
pretty good too. Mostly depends on what you think will work best for you :)
A.
On 11 March 2013 11:33, Alp Mestanogullari
I don't think so. However, you can install the OS X binaries for ghc 7.6.2 and make that sit just next to your Haskell Platform install. You can even use your existing cabal-install to install packages for the freshly installed ghc by doing 'cabal install foo --with-ghc=/path/to/ghc'. Just watch which ghc does become the default (it's a matter of replacing a symlink) and that it satisfies you.
On Thu, Mar 7, 2013 at 10:50 PM, Graham Klyne
wrote: Hi,
I have Haskell Platform with GHC[i] 7.4.2 installed on a MacOS system. There's a problem with the handling of certain Markdown constructs in literate Haskell (lines starting with '#') that I understand is fixed in 7.6.2.
Therefore, I'd like to be able to update my GHC installation to 7.6.2. But I haven't yet been able to find any instructions about how to upgrade an existing GHC installation. Am I missing something?
#g --
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
-- Alp Mestanogullari
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Alfredo Di Napoli
-
Alp Mestanogullari
-
Graham Klyne