[project @ 2002-12-02 10:44:10 by simonmar]
authorsimonmar <unknown>
Mon, 2 Dec 2002 10:44:10 +0000 (10:44 +0000)
committersimonmar <unknown>
Mon, 2 Dec 2002 10:44:10 +0000 (10:44 +0000)
Add a FAQ item about long link times.

ghc/docs/users_guide/faq.sgml

index 51f6d5a..0c274d7 100644 (file)
@@ -305,6 +305,24 @@ details.</para>
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Why does linking take so long?</term>
+      <listitem>
+       <para>Linking a small program should take no more than a few
+       seconds.  Larger programs can take longer, but even linking
+       GHC itself only takes 3-4 seconds on our development
+       machines.</para>
+       
+       <para>Long link times have been attributed to using Sun's
+       linker on Solaris, as compared to GNU <command>ld</command>
+       which appears to be much faster.  So if you're on a Sun box,
+       try switching to GNU <command>ld</command>.  <ulink
+       url="http://www.haskell.org/pipermail/glasgow-haskell-users/2002-November/004477.html">This
+       article</ulink> from the mailing list has more
+       information.</para>
+      </listitem>
+    </varlistentry>
+
   </variablelist>
 </chapter>