[GHC] #8600: ghc --help is outdated
GHC
ghc-devs at haskell.org
Sat Dec 7 13:20:39 UTC 2013
#8600: ghc --help is outdated
------------------------------------+-------------------------------------
Reporter: Feuerbach | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
{{{
To compile and link a complete Haskell program, run the compiler like
so:
ghc --make Main
where the module Main is in a file named Main.hs (or Main.lhs) in the
current directory. The other modules in the program will be located
and compiled automatically, and the linked program will be placed in
the file `a.out' (or `Main.exe' on Windows).
}}}
First, --make is no longer necessary. Second, ghc doesn't create a.out on
Unix — instead, the file is named the same as the main module (Main in
that example).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8600>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list