#5580: Make switching GHC versions easier on Mac OS
---------------------------------+------------------------------------------
    Reporter:  pumpkin           |       Owner:              
        Type:  feature request   |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  7.2.1             |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------
 The standard .pkg installer for GHC or the platform follow the Mac OS
 convention of keeping different versions in separate version folders in
 the framework, with a symlink from Current to the current version.
 However, the wrapper scripts (/usr/bin/ghc, runhaskell, ghci) all
 explicitly mention the full path to the GHC that was most recently
 installed, like

 {{{
 
datadir="/Library/Frameworks/GHC.framework/Versions/7.3.20111017-x86_64/usr/share"
 }}}

 This prevents us from easily switching versions by just changing the
 symlink to an older version. Could the variables in the GHC script be
 changed to something like

 {{{
 datadir="/Library/Frameworks/GHC.framework/Versions/Current/usr/share"
 }}}

 so we can switch more easily?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5580>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to