Add some instructions about ranlib'ing the CFE runtime libraries so that
authorReid Spencer <rspencer@reidspencer.com>
Thu, 25 Nov 2004 17:13:17 +0000 (17:13 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 25 Nov 2004 17:13:17 +0000 (17:13 +0000)
they link faster. This should eventually be codified into the CFE's
makefile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18247 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CFEBuildInstrs.html

index 456473f9e55bfd0c307d8602f1d26d85b6d53376..bf83db485b8238ee01ab5066f9612c0079377e0c 100644 (file)
@@ -232,6 +232,20 @@ libgcc.a library, which you can find by running
  % setenv LLVM_LIB_SEARCH_PATH $CFEINSTALL/bytecode-libs
 </pre></li>
 
+<li><p>Optionally, build a symbol table for the newly installed runtime 
+libraries. Although this step is optional, you are encouraged to do this as the
+symbol tables will make a significant difference in your link times. Use 
+the <tt>llvm-ranlib</tt> tool to do this, as follows:</p>
+<pre>
+ % cd $CFEINSTALL/lib
+ % llvm-ranlib libiberty.a
+ % llvm-ranlib libstdc++.a
+ % llvm-ranlib libsubc++.a
+ % cd $CFEINSTALL/lib/<i>target-triplet</i>/3.4-llvm
+ % llvm-ranlib libgcc.a
+ % llvm-ranlib libgcov.a
+</pre>
+
 <li><p>Test the newly-installed C frontend by one or more of the
 following means:</p>
  <ul>