This is a guide to using the Glasgow Haskell compilation (GHC) system. It is a batch compiler for the Haskell 1.2 language, with support for various extensions, including the DRAFT 1.3 I/O proposal.
Many people will use GHC very simply: compile some modules -- `ghc -c -O Foo.hs Bar.hs'; and link them -- `ghc -o wiggle -O Foo.o Bar.o'.
But if you need to do something more complicated, GHC can do that, too:
ghc -c -O -fno-foldr-build -dcore-lint -fvia-C -ddump-simpl Foo.lhsStay tuned -- all will be revealed!
In this document, we assume that GHC has been installed at your site as `ghc'. If you are unfamiliar with the conventions of UNIX compilers, the material in section See section Tutorial material about this compilation system may help.