Skip to content

runghc is undocumented

make install installs runghc, which is not mentioned anywhere in the user's guide.

So I didn't know whether it was a bug that runghc doesn't work when ghc is compiled without interactive(ghci) support. Also I need to pass --make to runghc in a multi-module program to make runghc work. Also I don't know if there's any GHC flag like ghc --run the way there is ghc --interactive for ghci (should there be? or is the syntax different enough that it would be troublesome?). Also #1312 (closed) and #1281 (closed) are about runghc's behavior...

At least runghc and runghc --help produce runghc: syntax: runghc [-f GHCPATH] [GHC-ARGS] FILE ARG... which is clear enough about the syntax, but not exactly the meaning.

Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information