[llvm-commits] CVS: llvm/docs/CFEBuildInstrs.html

Reid Spencer reid at x10sys.com
Thu Nov 25 09:13:28 PST 2004



Changes in directory llvm/docs:

CFEBuildInstrs.html updated: 1.26 -> 1.27
---
Log message:

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.


---
Diffs of the changes:  (+15 -1)

Index: llvm/docs/CFEBuildInstrs.html
diff -u llvm/docs/CFEBuildInstrs.html:1.26 llvm/docs/CFEBuildInstrs.html:1.27
--- llvm/docs/CFEBuildInstrs.html:1.26	Thu Nov 11 01:30:27 2004
+++ llvm/docs/CFEBuildInstrs.html	Thu Nov 25 11:13:17 2004
@@ -232,6 +232,20 @@
  % 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>
@@ -314,7 +328,7 @@
 
   Brian Gaeke<br>
   <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/11/11 07:30:27 $
+  Last modified: $Date: 2004/11/25 17:13:17 $
 </address>
 
 </body>






More information about the llvm-commits mailing list