From: Reid Spencer Date: Thu, 25 Nov 2004 17:13:17 +0000 (+0000) Subject: Add some instructions about ranlib'ing the CFE runtime libraries so that X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f99e59a92c320ac4dc039b68432c0ca5a610df3e;p=oota-llvm.git 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 --- diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html index 456473f9e55..bf83db485b8 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 +
  • 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 llvm-ranlib tool to do this, as follows:

    +
    + % cd $CFEINSTALL/lib
    + % llvm-ranlib libiberty.a
    + % llvm-ranlib libstdc++.a
    + % llvm-ranlib libsubc++.a
    + % cd $CFEINSTALL/lib/target-triplet/3.4-llvm
    + % llvm-ranlib libgcc.a
    + % llvm-ranlib libgcov.a
    +
    +
  • Test the newly-installed C frontend by one or more of the following means: