summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-06-04 16:08:10 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-06-04 16:08:10 +0000
commit8631e0fd9c7175aea80a932f59023ffe136659d6 (patch)
treebc5fb1fdf22bb33e357b3d32d9d36acbeaa41dd4
parentcc68f805497143ee10ea67132f2328f09061cb32 (diff)
downloadbcm5719-llvm-8631e0fd9c7175aea80a932f59023ffe136659d6.tar.gz
bcm5719-llvm-8631e0fd9c7175aea80a932f59023ffe136659d6.zip
--plugin is not needed for bfd anymore. Update docs.
llvm-svn: 72867
-rw-r--r--llvm/docs/GoldPlugin.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/llvm/docs/GoldPlugin.html b/llvm/docs/GoldPlugin.html
index 6be5277efd1..17a50aca6e9 100644
--- a/llvm/docs/GoldPlugin.html
+++ b/llvm/docs/GoldPlugin.html
@@ -153,12 +153,21 @@ $ llvm-gcc -use-gold-plugin a.o b.o -o main # &lt;-- link with LLVMgold plugin
<pre class="doc_code">
export CC="$PREFIX/bin/llvm-gcc -use-gold-plugin"
export CXX="$PREFIX/bin/llvm-g++ -use-gold-plugin"
-export AR="$PREFIX/bin/ar --plugin libLLVMgold.so"
-export NM="$PREFIX/bin/nm --plugin libLLVMgold.so"
+export AR="$PREFIX/bin/ar"
+export NM="$PREFIX/bin/nm"
export RANLIB=/bin/true #ranlib is not needed, and doesn't support .bc files in .a
export CFLAGS="-O4"
</pre>
</li>
+ <li>Or you can just set your path:
+ <pre class="doc_code">
+export PATH="$PREFIX/bin:$PATH"
+export CC="llvm-gcc -use-gold-plugin"
+export CXX="llvm-g++ -use-gold-plugin"
+export RANLIB=/bin/true
+export CFLAGS="-O4"
+ </pre>
+ </li>
<li>Configure &amp; build the project as usual: <tt>./configure &amp;&amp; make &amp;&amp; make check</tt> </li>
</ul>
<p> The environment variable settings may work for non-autotooled projects
OpenPOWER on IntegriCloud