X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fdocs%2Fusers_guide%2Fflags.sgml;h=198e2874f1b401b64c704063f5ddd779110c0b57;hb=277cd58374ee122c3ae4dc7d99a10971facaf830;hp=751221d1f007d719a2ae2225bb6bec2b655ca433;hpb=7d67a216958e8986cf067f96f9e9c7a4101fd29b;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml index 751221d..198e287 100644 --- a/ghc/docs/users_guide/flags.sgml +++ b/ghc/docs/users_guide/flags.sgml @@ -1,6 +1,11 @@ - + Flag reference + This section is a quick-reference for GHC's command-line + flags. For each flag, we also list its static/dynamic status (see + ), and the flag's opposite + (if available). + Help and verbosity options (<xref linkend="options-help">) @@ -71,12 +76,6 @@ - - Run the C pre-processor on the Haskell source - dynamic - - - - Stop after preprocessing (.hspp file) static @@ -100,18 +99,6 @@ static - - - - Use the native code generator - dynamic - -fvia-C - - - - Compile via C - dynamic - -fasm - @@ -132,6 +119,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 @@ -283,12 +282,6 @@ - file - Put the interface file in file - static - - - - Dump the new interface to stdout dynamic @@ -324,7 +317,7 @@ Turn off recompilation checking static - -recomp + @@ -332,11 +325,12 @@ - Packages (<xref linkend="packages">) + Interactive-mode options (<xref linkend="ghci-dot-files">) + - + Flag Description Static/Dynamic @@ -345,26 +339,44 @@ - - Install a new package + + Disable reading of .ghci files static - - name - Delete package entry name + + Enable reading of .ghci files static - + + + + + + + Packages (<xref linkend="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 - @@ -469,19 +481,19 @@ enable normal warnings - static + dynamic disable all warnings - static + dynamic - enable all warnings - static + dynamic @@ -515,6 +527,13 @@ + + enable miscellaneous warnings + dynamic + + + + warn when fields of a record are uninitialised dynamic @@ -712,7 +731,7 @@ - Tweak the liberate-case optimisation + Tweak the liberate-case optimisation (default: 10) static @@ -725,6 +744,14 @@ + + If a worker has that many arguments, none will be + unpacked anymore (default: 10) + static + - + + + Set the max iterations for the simplifier static @@ -795,13 +822,6 @@ - - Tweak unfolding settings - static - - - - Tweak unfolding settings static @@ -935,6 +955,12 @@ + + Run the C pre-processor on Haskell source files + dynamic + - + + symbol=value Define a symbol in the C pre-processor dynamic @@ -984,6 +1010,43 @@ + Code generation options (<xref linkend="options-codegen">) + + + + + + Flag + Description + Static/Dynamic + Reverse + + + + + + Use the native code generator + dynamic + -fvia-C + + + + Compile via C + dynamic + -fasm + + + + Omit code generation + static + - + + + + + + + Linking options (<xref linkend="options-linker">) @@ -1197,12 +1260,6 @@ - - - (HPPA only) enable long call support - static - - - - (x86 only) give some registers back to the C compiler dynamic @@ -1283,7 +1340,7 @@ - Dump FFI-related output + Dump foreign export stubs dynamic - @@ -1384,12 +1441,6 @@ - - - (equivalent to ) - dynamic - - - - Trace renamer dynamic @@ -1467,6 +1518,12 @@ dynamic - + + + Enable unregisterised compilation + static + - + @@ -1518,7 +1575,7 @@ - ??? + Don't share specialisations of overloaded functions static - @@ -1566,7 +1623,7 @@ Misc: , ( "H" , HasArg (setHeapSize . fromIntegral . decodeSize) ) , ( "Rghc-timing" , NoArg (enableTimingStats) ) - , ( "unreg" , NoArg (addNoDups v_Ways WayUnreg) ) + -Bdir -->