Displaying 2 results from an estimated 2 matches for "tmjackso".
2012 May 01
2
[LLVMdev] Gold plugin and LLVM tools documentation
...versions from binutils 2.22, and placed LLVMgold.so in
/usr/bin/bfd-plugins. The host system is Ubuntu 11.10. CFLAGS and
CXXflags are all set to include "-emit-llvm".
First, I create libjscore.a with ar, where I've changed the command
line to load the plugin:
ar cqs --plugin
/home/tmjackso/multicompiler/llvm-3.0/release/lib/LLVMgold.so
libjscore.a <list of object files>
Then I link jsc against libjscore.a:
/home/tmjackso/multicompiler/llvm-3.0/release/bin/clang++
-Wl,-plugin,/home/tmjackso/multicompiler/llvm-3.0/release/lib/LLVMgold.so
-Wl,-rpath,/home/tmjackso/builds/qt/qt-4....
2012 May 01
0
[LLVMdev] Gold plugin and LLVM tools documentation
> First, I create libjscore.a with ar, where I've changed the command
> line to load the plugin:
> ar cqs --plugin
> /home/tmjackso/multicompiler/llvm-3.0/release/lib/LLVMgold.so
> libjscore.a <list of object files>
Note that you shouldn't need to pass --plugin to ar, it searches bfd-plugins.
> Then I link jsc against libjscore.a:
> /home/tmjackso/multicompiler/llvm-3.0/release/bin/clang++
> -Wl,-plugin,...