X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fflags.xml;h=685dd7a5ad8ad2ff028dd56b8d975dc814af610c;hb=0f3bba68b48e32457f2d66e97eff41129f7772ac;hp=4ccad7892cc91b296a788a93613b75b614dfded1;hpb=bb074cb7f881ab865e9fba04ab7244a3951d3494;p=ghc-hetmet.git
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index 4ccad78..685dd7a 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -607,7 +607,9 @@
Language options
-
+ Language options can be enabled either by a command-line option
+ , or by a {-# LANGUAGE blah #-}
+ pragma in the file itself. See
@@ -659,11 +661,11 @@
-
+
Enable record
field disambiguation
dynamic
-
+
@@ -704,6 +706,12 @@
+
+ Disable support for n+k patterns
+ dynamic
+
+
+
Make pattern bindings polymorphic
dynamic
@@ -787,7 +795,7 @@
- Enable unicode syntax.
+ Enable unicode syntax.
dynamic
@@ -854,7 +862,7 @@
- Enable transform list comprehensions.
+ Enable generalised list comprehensions.
dynamic
@@ -932,7 +940,7 @@
- Enable type synonyms.
+ Enable type synonyms in instance heads.
dynamic
@@ -1025,6 +1033,13 @@
+
+ warn about uses of pragmas that GHC doesn't recognise
+ dynamic
+
+
+
+
warn about uses of functions & types that have warnings or deprecated pragmas
dynamic
@@ -1166,6 +1181,20 @@
+
+
+ warn about do bindings that appear to throw away values of types other than ()
+ dynamic
+
+
+
+
+
+ warn about do bindings that appear to throw away monadic values that you should have bound instead
+ dynamic
+
+
+
@@ -1429,6 +1458,13 @@
static
-
+
+
+
+ Turn on eager blackholing
+ dynamic
+ -
+
@@ -1454,20 +1490,20 @@
Auto-add _scc_s to all
exported functions
- static
+ dynamic
Auto-add _scc_s to all
top-level functions
- static
+ dynamic
Auto-add _scc_s to all CAFs
- static
+ dynamic
@@ -1597,33 +1633,6 @@
- C compiler options
-
-
-
-
-
-
- Flag
- Description
- Static/Dynamic
- Reverse
-
-
-
-
- file
- Include file when
- compiling the .hc file
- dynamic
- -
-
-
-
-
-
-
-
Code generation options
@@ -1691,6 +1700,12 @@
+
+ Generate a shared library (as opposed to an executable)
+ dynamic
+ -
+
+
Generate position-independent code (where available)
static
@@ -1703,6 +1718,13 @@
-
+
+ Selects one of a number of modes for finding shared
+ libraries at runtime.
+ static
+ -
+
+
name
On Darwin/MacOS X only, link in the framework name.
This option corresponds to the option for Apple's Linker.
@@ -1790,6 +1812,12 @@
dynamic
-
+
+
+ Don't generate an import library for a DLL (Windows only)
+ dynamic
+ -
+
@@ -1954,12 +1982,6 @@
-
- option
- pass option to the dependency generator
- dynamic
- -
-
-
option
pass option to windres.
dynamic
@@ -2017,7 +2039,7 @@
Generate .hcr external Core files
- static
+ dynamic
-