[project @ 2001-08-23 14:38:23 by simonmar]
[ghc-hetmet.git] / ghc / docs / users_guide / phases.sgml
index 0c39425..01ac535 100644 (file)
@@ -253,6 +253,17 @@ strmod = "\
            code generator.</para>
          </listitem>
        </varlistentry>
+
+       <varlistentry>
+         <term><option>-fno-code</option></term>
+         <indexterm><primary><option>-fno-code</option></primary>
+         </indexterm>
+         <listitem>
+           <para>Omit code generation (and all later phases)
+           altogether.  Might be of some use if you just want to see
+           dumps of the intermediate compilation phases.</para>
+         </listitem>
+       </varlistentry>
       </variablelist>
     </sect2>
 
@@ -358,11 +369,7 @@ strmod = "\
             be supplying its definition of <function>main()</function>
             at link-time, you will have to. To signal that to the
             driver script when linking, use
-            <option>-no-hs-main</option>. In fact, this only has an
-            effect when the RTS is compiled into a DLL; the
-            rest of the time, static linking allows the RTS's
-            <function>main()</function> to be overridden in the same
-            way as any other library routine.</para>
+            <option>-no-hs-main</option>.</para>
 
            <para>Notice that since the command-line passed to the
             linker is rather involved, you probably want to use