summaryrefslogtreecommitdiff
path: root/driver/ghci-usage.txt
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-04-07 02:05:11 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-04-07 02:05:11 +0000
commit0065d5ab628975892cea1ec7303f968c3338cbe1 (patch)
tree8e2afe0ab48ee33cf95009809d67c9649573ef92 /driver/ghci-usage.txt
parent28a464a75e14cece5db40f2765a29348273ff2d2 (diff)
downloadhaskell-0065d5ab628975892cea1ec7303f968c3338cbe1.tar.gz
Reorganisation of the source tree
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
Diffstat (limited to 'driver/ghci-usage.txt')
-rw-r--r--driver/ghci-usage.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/driver/ghci-usage.txt b/driver/ghci-usage.txt
new file mode 100644
index 0000000000..4a633fc3e1
--- /dev/null
+++ b/driver/ghci-usage.txt
@@ -0,0 +1,26 @@
+Usage:
+
+ ghci [command-line-options-and-input-files]
+
+The kinds of input files that can be given on the command-line
+include:
+
+ - Haskell source files (.hs or .lhs suffix)
+ - Object files (.o suffix, or .obj on Windows)
+ - Dynamic libraries (.so suffix, or .dll on Windows)
+
+In addition, ghci accepts most of the command-line options that plain
+GHC does. Some of the options that are commonly used are:
+
+ -fglasgow-exts Allow Glasgow extensions (unboxed types, etc.)
+
+ -i<dir> Search for imported modules in the directory <dir>.
+
+ -H32m Increase GHC's default heap size to 32m
+
+ -cpp Enable CPP processing of source files
+
+Full details can be found in the User's Guide, an online copy of which
+can be found here:
+
+ http://www.haskell.org/ghc/documentation.html