X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fflags.sgml;h=b9464a6836bce9e75fc4a131e2ad88c878ca9ed3;hb=522f819c8ad0c16f799f4199b4eee9d1d97902c6;hp=dfca7cd5686ac7b6dfdce726f532379efef7ac25;hpb=ecaf93533a3d2d82b2665ed776a387334804ecdd;p=ghc-hetmet.git
diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml
index dfca7cd..b9464a6 100644
--- a/ghc/docs/users_guide/flags.sgml
+++ b/ghc/docs/users_guide/flags.sgml
@@ -45,17 +45,23 @@
-
-
+
display GHC version
static
-
-
+
display GHC version (numeric only)
static
-
+
+
+ display GHC library directory
+ static
+ -
+
@@ -119,6 +125,18 @@
+ suffix
+ set the suffix to use for intermediate C files
+ static
+ -
+
+
+ dir
+ set directory for interface files
+ static
+ -
+
+
suffix
set the suffix to use for interface files
static
@@ -270,12 +288,6 @@
- file
- Put the interface file in file
- static
- -
-
-
Dump the new interface to stdout
dynamic
@@ -287,6 +299,20 @@
dynamic
-
+
+
+ Dump a minimal set of imports
+ dynamic
+ -
+
+
+ file
+ Read the interface in
+ file and dump it as text to
+ stdout.
+ static
+ -
+
@@ -319,11 +345,12 @@
- Packages ()
+ Interactive-mode options ()
+
-
+
Flag
Description
Static/Dynamic
@@ -332,26 +359,44 @@
-
- Install a new package
+
+ Disable reading of .ghci files
static
-
- name
- Delete package entry name
+
+ Enable reading of .ghci files
static
-
+
+
+
+
+
+
+ Packages ()
+
+
+
+
+ Flag
+ Description
+ Static/Dynamic
+ Reverse
+
+
+
-
- List installed packages
+ name
+ Use package name
static
-
- name
- Use package name
+ file
+ Load more packages from file
static
-
@@ -405,6 +450,25 @@
+ or
+ Enable foreign function interface (implied by
+ )
+ dynamic
+
+
+
+
+ Enable arrow notation extension
+ dynamic
+
+
+
+
+ Enable deprecated with keyword
+ dynamic
+
+
+
Ignore assertions
dynamic
@@ -471,6 +535,12 @@
dynamic
+
+
+ make warnings fatal
+ dynamic
+
+
@@ -502,6 +572,13 @@
+
+ enable miscellaneous warnings
+ dynamic
+
+
+
+
warn when fields of a record are uninitialised
dynamic
@@ -602,12 +679,6 @@
static
-
-
- Run gcc with
- static
- -
-
@@ -628,13 +699,6 @@
-
- Make everything strict
- dynamic
-
-
-
-
Enable case-merging
static
@@ -670,10 +734,10 @@
-
- Enable foldr-build optimisation
+
+ Switch off all rewrite rules
static
-
+
@@ -699,7 +763,7 @@
- Tweak the liberate-case optimisation
+ Tweak the liberate-case optimisation (default: 10)
static
@@ -712,6 +776,14 @@
+
+ If a worker has that many arguments, none will be
+ unpacked anymore (default: 10)
+ static
+ -
+
+
+
Set the max iterations for the simplifier
static
@@ -995,6 +1067,12 @@
dynamic
-fasm
+
+
+ Omit code generation
+ static
+ -
+
@@ -1034,12 +1112,33 @@
-
+
+ Omit linking
+ static
+ -
+
+
name
Link in package name
static
-
+ name
+ On Darwin/MacOS X only, link in the framework name.
+ This option corresponds to the option for Apple's Linker.
+ static
+ -
+
+
+ name
+ On Darwin/MacOS X only, add dir to the list of
+ directories searched for frameworks.
+ This option corresponds to the option for Apple's Linker.
+ static
+ -
+
+
Split objects (for libraries)
static
@@ -1118,6 +1217,13 @@
static
-
+
+ cmd
+ Use cmd as the pre-processor
+ (with only)
+ static
+ -
+
@@ -1128,6 +1234,7 @@
+
@@ -1224,6 +1331,33 @@
+
+
+ External core file options ()
+
+
+
+
+
+ Flag
+ Description
+ Static/Dynamic
+ Reverse
+
+
+
+
+
+ Generate .hcr external Core files
+ static
+ -
+
+
+
+
+
+
+
Compiler debugging options ()