Bug fixes in my refactored RnNames code.
[ghc-hetmet.git] / ghc / docs / users_guide / flags.xml
index bbd57a0..e288da2 100644 (file)
@@ -13,7 +13,7 @@
       <para><xref linkend="options-help"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-Rghc-timing</option></entry>
+             <entry>Summarise timing stats for GHC (same as <literal>+RTS -tstderr</literal>)</entry>
+             <entry>static</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>
@@ -88,7 +94,7 @@
       <para><xref linkend="options-order"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="modes"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
              <entry>mode</entry>
              <entry>-</entry>
            </row>
-           <row>
-             <entry><option>--mk-dll</option></entry>
-             <entry>DLL-creation mode (Windows only)</entry>
-             <entry>dynamic</entry>
-             <entry>-</entry>
-           </row>
          </tbody>
        </tgroup>
       </informaltable>
       <para><xref linkend="options-output"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-stubdir</option> <replaceable>dir</replaceable></entry>
+             <entry>redirect FFi stub files</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>
       <para><xref linkend="keeping-intermediates"/></para>
       
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="temp-files"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="search-path"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="hi-options"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="recomp"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="ghci-dot-files"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="packages"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="options-language"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para>(<xref linkend="options-sanity"/></para>
 
     <informaltable>
-      <tgroup cols="3" align="left" colsep="1" rowsep="1">
+      <tgroup cols="4" align="left" colsep="1" rowsep="1">
        <thead>
          <row>
            <entry>Flag</entry>
       <para><xref linkend="options-optimise"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="options-f"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="profiling"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="sec-using-parallel"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="c-pre-processor"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
 
       <para><xref linkend="options-C-compiler"/></para>
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="options-codegen"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="options-linker"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
              <entry>-</entry>
            </row>
            <row>
+             <entry><option>--mk-dll</option></entry>
+             <entry>DLL-creation mode (Windows only)</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
+           <row>
              <entry><option>-no-hs-main</option></entry>
              <entry>Don't assume this program contains <literal>main</literal></entry>
              <entry>dynamic</entry>
       <para><xref linkend="replacing-phases"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="forcing-options-through"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="options-platform"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="ext-core"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <para><xref linkend="options-debugging"/></para>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
       <title>Misc compiler options</title>
 
       <informaltable>
-       <tgroup cols="3" align="left" colsep="1" rowsep="1">
+       <tgroup cols="4" align="left" colsep="1" rowsep="1">
          <thead>
            <row>
              <entry>Flag</entry>
@@ -1870,7 +1882,6 @@ Still to document:
 
 Misc:
   ,  ( "H"                 , HasArg (setHeapSize . fromIntegral . decodeSize) )
-  ,  ( "Rghc-timing"      , NoArg  (enableTimingStats) )
 
   -Bdir
 -->