aboutsummaryrefslogtreecommitdiff
path: root/docs/CFEBuildInstrs.html
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-25 17:13:17 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-25 17:13:17 +0000
commitf99e59a92c320ac4dc039b68432c0ca5a610df3e (patch)
treef221975a3c66bbc2e53d031c4c2eef5565d7aa82 /docs/CFEBuildInstrs.html
parentbc98a64b2a7d6e3a4a03a1229036e2fd771bb1fe (diff)
Add some instructions about ranlib'ing the CFE runtime libraries so that
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
Diffstat (limited to 'docs/CFEBuildInstrs.html')
-rw-r--r--docs/CFEBuildInstrs.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html
index 456473f9e5..bf83db485b 100644
--- a/docs/CFEBuildInstrs.html
+++ b/docs/CFEBuildInstrs.html
@@ -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>