search for: path_to_my_lib

Displaying 3 results from an estimated 3 matches for "path_to_my_lib".

2011 Mar 24
2
[LLVMdev] Instrumentation with liblto and gold
...d myStore) for some load and store instructions. The functions exist in a library file. I found that the approach works for the example in the link: http://llvm.org/docs/GoldPlugin.html $ llvm-gcc -flto a.c -c -o a.o $ ar q a.a a.o $ llvm-gcc b.c -c -o b.o $ llvm-gcc -use-gold-plugin a.a b.o -L<path_to_my_lib> -l<my_lib> -o main I also found that I can compile large programs (apache and mysql) with gold plugin. Here is the command: $ export CC="llvm-gcc -use-gold-plugin"; export CXX="llvm-g++ -use-gold-plugin"; export RANLIB=/bin/true; export CFLAGS="-O4"; $ ./con...
2011 Mar 24
0
[LLVMdev] Instrumentation with liblto and gold
...ructions. > The functions exist in a library file. > > I found that the approach works for the example in the link: > http://llvm.org/docs/GoldPlugin.html > $ llvm-gcc -flto a.c -c -o a.o > $ ar q a.a a.o > $ llvm-gcc b.c -c -o b.o > $ llvm-gcc -use-gold-plugin a.a b.o -L<path_to_my_lib> -l<my_lib> -o main > > I also found that I can compile large programs (apache and mysql) with > gold plugin. > Here is the command: > $ export CC="llvm-gcc -use-gold-plugin"; export CXX="llvm-g++ > -use-gold-plugin"; export RANLIB=/bin/true; export...
2011 Mar 25
1
[LLVMdev] Instrumentation with liblto and gold
...exist in a library file. >> >> I found that the approach works for the example in the link: >> http://llvm.org/docs/GoldPlugin.html >> $ llvm-gcc -flto a.c -c -o a.o >> $ ar q a.a a.o >> $ llvm-gcc b.c -c -o b.o >> $ llvm-gcc -use-gold-plugin a.a b.o -L<path_to_my_lib> -l<my_lib> -o main >> >> I also found that I can compile large programs (apache and mysql) with >> gold plugin. >> Here is the command: >> $ export CC="llvm-gcc -use-gold-plugin"; export CXX="llvm-g++ >> -use-gold-plugin"; export RAN...