[project @ 2004-05-24 08:35:41 by simonmar]
authorsimonmar <unknown>
Mon, 24 May 2004 08:35:41 +0000 (08:35 +0000)
committersimonmar <unknown>
Mon, 24 May 2004 08:35:41 +0000 (08:35 +0000)
Mention that ordering is important on the GHCi command line

ghc/docs/users_guide/ghci.sgml

index dc391c0..792f68b 100644 (file)
@@ -779,6 +779,10 @@ $ ghci -lm
       (<literal>.o</literal> or <literal>.obj</literal> depending on
       your platform) from the command-line.  Just add the name the
       object file to the command line.</para>
+
+      <para>Ordering of <option>-l</option> options matters: a library
+      should be mentioned <emphasis>before</emphasis> the libraries it
+      depends on (see <xref linkend="options-linker">).</para>
     </sect2>
 
   </sect1>