summaryrefslogtreecommitdiff
path: root/ghc/docs
diff options
context:
space:
mode:
authorsimonmar <unknown>2004-05-24 08:35:41 +0000
committersimonmar <unknown>2004-05-24 08:35:41 +0000
commit676bb27205d7bbca3fe44f59abc8e170a0806a9c (patch)
tree86871fea43eacf2cf115bc66863a2a3f8a316746 /ghc/docs
parentd357373cebec0a8779cbb116842ccfe074851571 (diff)
downloadhaskell-676bb27205d7bbca3fe44f59abc8e170a0806a9c.tar.gz
[project @ 2004-05-24 08:35:41 by simonmar]
Mention that ordering is important on the GHCi command line
Diffstat (limited to 'ghc/docs')
-rw-r--r--ghc/docs/users_guide/ghci.sgml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/docs/users_guide/ghci.sgml b/ghc/docs/users_guide/ghci.sgml
index dc391c0787..792f68b68f 100644
--- a/ghc/docs/users_guide/ghci.sgml
+++ b/ghc/docs/users_guide/ghci.sgml
@@ -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>