[GHC] #2167: The -main-is option to runghc does not appear to work.
GHC
trac at galois.com
Thu Mar 20 06:34:06 EDT 2008
#2167: The -main-is option to runghc does not appear to work.
-----------------------+----------------------------------------------------
Reporter: cjs | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: NetBSD
-----------------------+----------------------------------------------------
The -main-is option to runghc does not appear to work, at least not when
specifying a package name. Create Hello.hs:
module Hello where
main = putStrLn "Hello."
and then try to run it:
runghc -main-is Hello Hello.hs
You will see:
<interactive>:1:113:
Failed to load interface for `Main':
Use -v to see a list of the files searched for.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2167>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list