[GHC] #1281: runghc,
runhaskell invoke wrong ghc when not first ghc in PATH
GHC
trac at galois.com
Mon May 7 08:19:22 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 |
-----------------------------+----------------------------------------------
Comment (by simonmar):
Yes :-)
I don't think it's possible. On Unix runghc would have to be a script, so
that we could add the appropriate $bindir at install-time, but you can't
invoke a script using the #! syntax. This is why runghc currently just
calls whatever GHC is in your PATH.
I suppose we could arrange to build runghc at install-time, but that
sounds like a lot of work to get right.
It might make sense to have runghc not search the PATH on Windows,
however.
--
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