#2477: -package-conf flag makes runghc fail
----------------------+-----------------------------------------------------
Reporter: fons | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by igloo):
* status: new => closed
* difficulty: => Unknown
* resolution: => invalid
Comment:
You need to tell `runghc` that `foo.conf` is a GHC flag, and not the
program to run:
{{{
$ runghc -package-conf --ghc-arg=foo.conf Main.hs
foo
}}}
This certainly works in 6.8.3 (and the HEAD), but I don't remember if this
flag was in 6.8.2.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2477#comment:1>
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