From: Torok Edwin Date: Thu, 4 Jun 2009 16:08:10 +0000 (+0000) Subject: --plugin is not needed for bfd anymore. Update docs. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=347c7bbcb57f943ea9834e2ffdc6696508c55682 --plugin is not needed for bfd anymore. Update docs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72867 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/GoldPlugin.html b/docs/GoldPlugin.html index 6be5277efd1..17a50aca6e9 100644 --- a/docs/GoldPlugin.html +++ b/docs/GoldPlugin.html @@ -153,9 +153,18 @@ $ llvm-gcc -use-gold-plugin a.o b.o -o main # <-- link with LLVMgold plugin
 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"
+     
+ +
  • Or you can just set your path: +
    +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"