X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fflags.sgml;h=8dc22afb5d30a454b09d061952dbe734d8b079cb;hb=3092faa7bbee99ca6cd56425d8ea67f3dc9555b2;hp=37c9f5d35e517612e5fae587241c7e6714f1b5ed;hpb=9a28e1299e998bced6c134d0eadb483b683520e8;p=ghc-hetmet.git
diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml
index 37c9f5d..8dc22af 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
@@ -222,7 +240,7 @@
- Finding imports ()
+ Finding imports ()
@@ -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
+
+
@@ -609,12 +679,6 @@
static
-
-
- Run gcc with
- static
- -
-
@@ -635,13 +699,6 @@
-
- Make everything strict
- dynamic
-
-
-
-
Enable case-merging
static
@@ -677,10 +734,11 @@
-
- Enable foldr-build optimisation
+
+ Switch off all rewrite rules (including rules
+ generated by automatic specialisation of overloaded functions)
static
-
+
@@ -706,7 +764,7 @@
- Tweak the liberate-case optimisation
+ Tweak the liberate-case optimisation (default: 10)
static
@@ -719,6 +777,14 @@
+
+ If a worker has that many arguments, none will be
+ unpacked anymore (default: 10)
+ static
+ -
+
+
+
Set the max iterations for the simplifier
static
@@ -1002,6 +1068,12 @@
dynamic
-fasm
+
+
+ Omit code generation
+ static
+ -
+
@@ -1041,12 +1113,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
@@ -1125,6 +1218,13 @@
static
-
+
+ cmd
+ Use cmd as the pre-processor
+ (with only)
+ static
+ -
+
@@ -1135,6 +1235,7 @@
+
@@ -1231,6 +1332,33 @@
+
+
+ External core file options ()
+
+
+
+
+
+ Flag
+ Description
+ Static/Dynamic
+ Reverse
+
+
+
+
+
+ Generate .hcr external Core files
+ static
+ -
+
+
+
+
+
+
+
Compiler debugging options ()