[project @ 2002-12-17 13:56:00 by simonmar]
authorsimonmar <unknown>
Tue, 17 Dec 2002 13:56:01 +0000 (13:56 +0000)
committersimonmar <unknown>
Tue, 17 Dec 2002 13:56:01 +0000 (13:56 +0000)
Document -no-link.

ghc/docs/users_guide/flags.sgml
ghc/docs/users_guide/phases.sgml

index 209d6f7..8a1f164 100644 (file)
              <entry>-</entry>
            </row>
            <row>
+             <entry><option>-no-link</option></entry>
+             <entry>Omit linking</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>static</entry>
index 81f5297..fa0ae08 100644 (file)
@@ -461,6 +461,19 @@ strmod = "\
        </varlistentry>
 
        <varlistentry>
+         <term><option>-no-link</option></term>
+         <indexterm>
+           <primary><option>-no-link</option></primary>
+         </indexterm>
+         <listitem>
+           <para>Omit the link step.  This flag can be useful if you
+           want to avoid linking in <option>--make</option> mode,
+           where linking is normally done automatically if the program
+           contains a <literal>Main</literal> module.</para>
+         </listitem>
+       </varlistentry>
+
+       <varlistentry>
          <term><option>-package</option> <replaceable>name</replaceable></term>
          <indexterm><primary><option>-package</option></primary></indexterm>
          <listitem>