[project @ 2003-08-08 08:08:47 by simonmar]
[ghc-hetmet.git] / ghc / docs / users_guide / flags.sgml
index 8514c48..40e46a2 100644 (file)
     </sect2>
 
     <sect2>
-      <title>Finding imports (<xref linkend="options-finding-imports">)</title>
+      <title>Finding imports (<xref linkend="search-path">)</title>
 
       <informaltable>
        <tgroup cols=3 align=left colsep=1 rowsep=1>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-ddump-minimal-imports</option></entry>
+             <entry>Dump a minimal set of imports</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
+           <row>
+             <entry><option>--show-iface</option> <replaceable>file</replaceable></entry>
+             <entry>Read the interface in
+             <replaceable>file</replaceable> and dump it as text to
+             <literal>stdout</literal>.</entry>
+             <entry>static</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>
              <entry><option>-fno-ffi</option></entry>
            </row>
            <row>
+             <entry><option>-farrows</option></entry>
+             <entry>Enable arrow notation extension</entry>
+             <entry>dynamic</entry>
+             <entry><option>-fno-arrows</option></entry>
+           </row>
+           <row>
              <entry><option>-fwith</option></entry>
              <entry>Enable deprecated <literal>with</literal> keyword</entry>
              <entry>dynamic</entry>
            <entry>dynamic</entry>
            <entry><option>-w</option></entry>
          </row>
+         <row>
+           <entry><option>-Werror</option></entry>
+           <entry>make warnings fatal</entry>
+           <entry>dynamic</entry>
+           <entry></entry>
+         </row>
 
          <row>
            <entry><option>-fwarn-deprecations</option></entry>
            </row>
 
            <row>
-             <entry><option>-ffoldr-build-on</option></entry>
-             <entry>Enable foldr-build optimisation</entry>
+             <entry><option>-frules-off</option></entry>
+             <entry>Switch off all rewrite rules (including rules
+             generated by automatic specialisation of overloaded functions)</entry>
              <entry>static</entry>
-             <entry><option>-fno-foldr-build-on</option></entry>
+             <entry><option>-frules-off</option></entry>
            </row>
 
            <row>
              <entry>-</entry>
            </row>
            <row>
+             <entry><option>-framework</option> <replaceable>name</replaceable></entry>
+             <entry>On Darwin/MacOS X only, link in the framework <replaceable>name</replaceable>.
+               This option corresponds to the <option>-framework</option> option for Apple's Linker.</entry>
+             <entry>static</entry>
+             <entry>-</entry>
+           </row>
+           <row>
+             <entry><option>-framework-path</option> <replaceable>name</replaceable></entry>
+             <entry>On Darwin/MacOS X only, add <replaceable>dir</replaceable> to the list of
+               directories searched for frameworks.
+               This option corresponds to the <option>-F</option> option for Apple's Linker.</entry>
+             <entry>static</entry>
+             <entry>-</entry>
+           </row>
+           <row>
              <entry><option>-l</option><replaceable>lib</replaceable></entry>
              <entry>Link in library <replaceable>lib</replaceable></entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
-             <entry><option>-package</option> <replaceable>name</replaceable></entry>
-             <entry>Link in package <replaceable>name</replaceable></entry>
+             <entry><option>-main-is</option></entry>
+             <entry>Set main function</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
-             <entry><option>-framework</option> <replaceable>name</replaceable></endtry>
-             <entry>On Darwin/MacOS X only, link in the framework <replaceable>name</replaceable>.
-               This option corresponds to the <option>-framework</option> option for Apple's Linker.
+             <entry><option>-no-hs-main</option></entry>
+             <entry>Don't asssume this program contains <literal>main</literal></entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
-             <entry><option>-framework-path</option> <replaceable>name</replaceable></endtry>
-             <entry>On Darwin/MacOS X only, add <replaceable>dir</replaceable> to the list of
-               directories searched for frameworks.
-               This option corresponds to the <option>-F</option> option for Apple's Linker.
+             <entry><option>-no-link</option></entry>
+             <entry>Omit linking</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
-             <entry><option>-split-objs</option></entry>
-             <entry>Split objects (for libraries)</entry>
+             <entry><option>-package</option> <replaceable>name</replaceable></entry>
+             <entry>Link in package <replaceable>name</replaceable></entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
-             <entry><option>-static</option></entry>
-             <entry>Use static Haskell libraries</entry>
+             <entry><option>-split-objs</option></entry>
+             <entry>Split objects (for libraries)</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
-             <entry><option>-no-hs-main</option></entry>
-             <entry>Don't asssume this program contains <literal>main</literal></entry>
+             <entry><option>-static</option></entry>
+             <entry>Use static Haskell libraries</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>