[GHC] #1281: runghc, runhaskell invoke wrong ghc when not first ghc in PATH

GHC trac at galois.com
Tue Jul 3 12:47:58 EDT 2007


#1281: runghc, runhaskell invoke wrong ghc when not first ghc in PATH
-----------------------------+----------------------------------------------
    Reporter:  Isaac Dupree  |        Owner:         
        Type:  bug           |       Status:  new    
    Priority:  normal        |    Milestone:  6.8    
   Component:  Compiler      |      Version:  6.6    
    Severity:  normal        |   Resolution:         
    Keywords:                |   Difficulty:  Unknown
          Os:  Linux         |     Testcase:         
Architecture:  Unknown       |  
-----------------------------+----------------------------------------------
Changes (by Isaac Dupree):

  * cc:  => id at isaac.cedarswampstudios.org

Comment:

 It's important to me, but fairly easy for me to work around if it's hard
 to fix ghc's behavior.

 An alternate hack under Unix might be for the runghc executable to check
 its `$0` argument and look for a ghc there, or have `runghc` be a symlink
 (or hardlink, which is discouraged) to `ghc`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1281>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list