X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fflags.xml;h=0dde52e317a358f24cc654b95a1fb057c97c740d;hb=2a2efb720c0fdc06fe749f96f284b00b30f8f3f7;hp=69a3c450bf2a173955664405d82446b2189f2ded;hpb=b5dbb387d42da93c3fa2976dd70475a9d6c03475;p=ghc-hetmet.git
diff --git a/ghc/docs/users_guide/flags.xml b/ghc/docs/users_guide/flags.xml
index 69a3c45..0dde52e 100644
--- a/ghc/docs/users_guide/flags.xml
+++ b/ghc/docs/users_guide/flags.xml
@@ -8,7 +8,9 @@
(if available).
- Help and verbosity options ()
+ Help and verbosity options
+
+
@@ -24,13 +26,13 @@
help
- static
+ mode
-
help
- static
+ mode
-
@@ -48,25 +50,25 @@
display GHC version
- static
+ mode
-
display GHC version
- static
+ mode
-
display GHC version (numeric only)
- static
+ mode
-
display GHC library directory
- static
+ mode
-
@@ -75,14 +77,22 @@
static
-
+
+
+ Summarise timing stats for GHC (same as +RTS -tstderr)
+ static
+ -
+
- Which phases to run ()
+ Which phases to run
+
+
@@ -97,24 +107,30 @@
Stop after preprocessing (.hspp file)
- static
+ mode
-
Stop after generating C (.hc file)
- static
+ mode
-
Stop after generating assembly (.s file)
- static
+ mode
-
- Stop after compiling to object code (.o file)
+ Do not link
+ dynamic
+ -
+
+
+ suffix
+ Override default behaviour for source files
static
-
@@ -124,8 +140,10 @@
- Alternative modes of operation ()
+ Alternative modes of operation
+
+
@@ -140,31 +158,25 @@
Interactive mode - normally used by just running ghci
- static
+ mode
-
Build a multi-module Haskell program, automatically figuring out dependencies. Likely to be much easier, and faster, than using make.
- static
+ mode
-
Evaluate expr
- static
+ mode
-
Generate dependency information suitable for use in a Makefile.
- static
- -
-
-
-
- DLL-creation mode (Windows only)
- static
+ mode
-
@@ -173,8 +185,10 @@
- Redirecting output ()
+ Redirecting output
+
+
@@ -189,43 +203,49 @@
suffix
set the suffix to use for intermediate C files
- static
+ dynamic
-
dir
set directory for interface files
- static
+ dynamic
-
suffix
set the suffix to use for interface files
- static
+ dynamic
-
filename
set output filename
- static
+ dynamic
-
dir
set output directory
- static
+ dynamic
-
filename
set the filename in which to put the interface
- static
+ dynamic
suffix
set the output file suffix
- static
+ dynamic
+ -
+
+
+ dir
+ redirect FFi stub files
+ dynamic
-
@@ -234,7 +254,9 @@
- Keeping intermediate files ()
+ Keeping intermediate files
+
+
@@ -250,25 +272,25 @@
retain intermediate .hc files
- static
+ dynamic
-
retain intermediate .s files
- static
+ dynamic
-
retain intermediate .raw_s files
- static
+ dynamic
-
retain all intermediate temporary files
- static
+ dynamic
-
@@ -277,8 +299,10 @@
- Temporary files ()
+ Temporary files
+
+
@@ -293,7 +317,7 @@
set the directory for temporary files
- static
+ dynamic
-
@@ -302,7 +326,9 @@
- Finding imports ()
+ Finding imports
+
+
@@ -320,13 +346,13 @@
dir1:dir2:...
add dir,
dir2, etc. to import path
- static
+ dynamic
-
Empty the import directory list
- static
+ dynamic
-
@@ -335,7 +361,9 @@
- Interface file options ()
+ Interface file options
+
+
@@ -372,7 +400,7 @@
Read the interface in
file and dump it as text to
stdout.
- static
+ mode
-
@@ -381,7 +409,9 @@
- Recompilation checking ()
+ Recompilation checking
+
+
@@ -408,8 +438,10 @@
- Interactive-mode options ()
+ Interactive-mode options
+
+
@@ -439,7 +471,10 @@
- Packages ()
+ Packages
+
+
+
@@ -454,31 +489,37 @@
P
Expose package P
+ dynamic
+ -
+
+
+
+ Hide all packages by default
static
-
name
Hide package P
- static
+ dynamic
-
name
Ignore package P
- static
+ dynamic
-
file
Load more packages from file
- static
+ dynamic
-
Don't load the user's package config file.
- static
+ dynamic
-
@@ -487,7 +528,9 @@
- Language options ()
+ Language options
+
+
@@ -514,7 +557,8 @@
- Enable incoherent instances
+ Enable incoherent instances.
+ Implies
dynamic
@@ -550,12 +594,6 @@
-
- Ignore assertions
- dynamic
-
-
-
Enable Implicit Parameters.
Implied by .
@@ -600,8 +638,10 @@
- Warnings ()
+ Warnings
+ (
+
@@ -765,7 +805,9 @@
- Optimisation levels ()
+ Optimisation levels
+
+
@@ -796,7 +838,9 @@
- Individual optimisations ()
+ Individual optimisations
+
+
@@ -840,7 +884,7 @@
Enable excess intermediate precision
- static
+ dynamic
@@ -855,14 +899,14 @@
Ignore assertions in the source
- static
+ dynamic
Ignore pragmas in interface files
- static
+ dynamic
@@ -904,13 +948,6 @@
-
- Turn off CPR analysis
- static
- -fcpr
-
-
-
Turn off common sub-expression
dynamic
@@ -919,7 +956,7 @@
- Turn off full laziness (floating bindings outwards). It is on by default.
+ Turn off full laziness (floating bindings outwards).
dynamic
-ffull-laziness
@@ -939,13 +976,6 @@
-
- Make numbers strict
- dynamic
-
-
-
-
Flatten strict constructor fields
dynamic
@@ -992,7 +1022,9 @@
- Profiling options ()
+ Profiling options
+
+
@@ -1049,7 +1081,9 @@
- Parallelism options ()
+ Parallelism options
+
+
@@ -1086,7 +1120,9 @@
- C pre-processor options ()
+ C pre-processor options
+
+
@@ -1121,7 +1157,7 @@
dir
Add dir to the
directory search list for #include files
- static
+ dynamic
-
@@ -1130,7 +1166,9 @@
- C compiler options ()
+ C compiler options
+
+
@@ -1155,7 +1193,9 @@
- Code generation options ()
+ Code generation options
+
+
@@ -1183,7 +1223,7 @@
Omit code generation
- static
+ mode
-
@@ -1192,7 +1232,9 @@
- Linking options ()
+ Linking options
+
+
@@ -1215,7 +1257,7 @@
name
On Darwin/MacOS X only, link in the framework name.
This option corresponds to the option for Apple's Linker.
- static
+ dynamic
-
@@ -1223,50 +1265,56 @@
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
+ dynamic
-
lib
Link in library lib
- static
+ dynamic
-
dir
Add dir to the list of
directories searched for libraries
- static
+ dynamic
-
Set main function
- static
+ dynamic
+ -
+
+
+
+ DLL-creation mode (Windows only)
+ dynamic
-
Don't assume this program contains main
- static
+ dynamic
-
Omit linking
- static
+ dynamic
-
name
Link in package name
- static
+ dynamic
-
Split objects (for libraries)
- static
+ dynamic
-
@@ -1293,7 +1341,9 @@
- Replacing phases ()
+ Replacing phases
+
+
@@ -1309,50 +1359,51 @@
cmd
Use cmd as the literate pre-processor
- static
+ dynamic
-
cmd
Use cmd as the C
pre-processor (with only)
- static -
+ dynamic
+ -
cmd
Use cmd as the C compiler
- static
+ dynamic
-
cmd
Use cmd as the assembler
- static
+ dynamic
-
cmd
Use cmd as the linker
- static
+ dynamic
-
cmd
Use cmd as the DLL generator
- static
+ dynamic
-
cmd
Use cmd as the dependency generator
- static
+ dyanmic
-
cmd
Use cmd as the pre-processor
(with only)
- static
+ dynamic
-
@@ -1370,7 +1421,9 @@
- Forcing options to particular phases ()
+ Forcing options to particular phases
+
+
@@ -1418,19 +1471,19 @@
option
pass option to the linker
- static
+ dynamic
-
option
pass option to the DLL generator
- static
+ dynamic
-
option
pass option to the dependency generator
- static
+ dynamic
-
@@ -1439,8 +1492,10 @@
- Platform-specific options ()
+ Platform-specific options
+
+
@@ -1471,7 +1526,9 @@
- External core file options ()
+ External core file options
+
+
@@ -1494,10 +1551,12 @@
-
+
- Compiler debugging options ()
+ Compiler debugging options
+
+
@@ -1776,12 +1835,6 @@
-
-
- Make all top-level names global (for )
- static
- -
-
-
Don't complain about .hi file mismatches
static
@@ -1800,12 +1853,6 @@
-
-
- Renamer: don't prune declarations
- static
- -
-
-
Set simplification history size
static
@@ -1820,7 +1867,7 @@
Turn off assembly mangling (use instead)
- static
+ dynamic
-
@@ -1835,7 +1882,6 @@ Still to document:
Misc:
, ( "H" , HasArg (setHeapSize . fromIntegral . decodeSize) )
- , ( "Rghc-timing" , NoArg (enableTimingStats) )
-Bdir
-->