[llvm-commits] [llvm] r72867 - /llvm/trunk/docs/GoldPlugin.html

Torok Edwin edwintorok at gmail.com
Thu Jun 4 09:08:10 PDT 2009


Author: edwin
Date: Thu Jun  4 11:08:10 2009
New Revision: 72867

URL: http://llvm.org/viewvc/llvm-project?rev=72867&view=rev
Log:
--plugin is not needed for bfd anymore. Update docs.

Modified:
    llvm/trunk/docs/GoldPlugin.html

Modified: llvm/trunk/docs/GoldPlugin.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GoldPlugin.html?rev=72867&r1=72866&r2=72867&view=diff

==============================================================================
--- llvm/trunk/docs/GoldPlugin.html (original)
+++ llvm/trunk/docs/GoldPlugin.html Thu Jun  4 11:08:10 2009
@@ -153,12 +153,21 @@
     <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 & build the project as usual: <tt>./configure && make && make check</tt> </li>
    </ul>
    <p> The environment variable settings may work for non-autotooled projects





More information about the llvm-commits mailing list