#5580: Make switching GHC versions easier on Mac OS
------------------------------+---------------------------------------------
  Reporter:  pumpkin          |          Owner:                  
      Type:  feature request  |         Status:  closed          
  Priority:  normal           |      Milestone:                  
 Component:  Compiler         |        Version:  7.2.1           
Resolution:  wontfix          |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Changes (by spl):

 * cc: leather@… (added)


Comment:

 There may be no guarantee that different version have the same
 executables, but the attached script works perfectly fine for me as long
 as the symlinks in /usr/bin point to the the appropriate location in
 Current and Current points to one of the versions. For example:
 {{{
 $ ll /usr/bin/ghc
 lrwxr-xr-x  1 62B 26 Oct 17:40 /usr/bin/ghc@ ->
 /Library/Frameworks/GHC.framework/Versions/Current/usr/bin/ghc
 }}}
 {{{
 $ ll /Library/Frameworks/GHC.framework/Versions/Current
 lrwxr-xr-x  1 55B  8 Nov 19:11
 /Library/Frameworks/GHC.framework/Versions/Current@ ->
 /Library/Frameworks/GHC.framework/Versions/7.2.1
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5580#comment:3>
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