search for: libctest

Displaying 5 results from an estimated 5 matches for "libctest".

Did you mean: libcelt
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
...olinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html == Without --emit-llvm == $ llvm-gcc -c ctest1.c ctest2.c $ file *.o ctest1.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped ctest2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped $ llvm-ar cru libctest.a *.o $ ls ctest1.c ctest1.o ctest2.c ctest2.o libctest.a prog.c $ llvm-ar t libctest.a ctest1.o ctest2.o $ llvm-nm libctest.a $ nm libctest.a nm: #_LLVM_SYM_TAB_: File format not recognized ctest1.o: 0000000000000000 T ctest1 ctest2.o: 0000000000000000 T ctest2 $ llvm-ranlib libctest.a...
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
...ryArchives-StaticAndDynamic.html > == Without --emit-llvm == > $ llvm-gcc -c ctest1.c ctest2.c > $ file *.o > ctest1.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped > ctest2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped > $ llvm-ar cru libctest.a *.o > $ ls > ctest1.c  ctest1.o  ctest2.c  ctest2.o  libctest.a  prog.c > $ llvm-ar t libctest.a > ctest1.o > ctest2.o > $ llvm-nm libctest.a > $ nm libctest.a > nm: #_LLVM_SYM_TAB_: File format not recognized > ctest1.o: > 0000000000000000 T ctest1 > ctest2.o: &g...
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
...t; == Without --emit-llvm == > > $ llvm-gcc -c ctest1.c ctest2.c > > $ file *.o > > ctest1.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not > stripped > > ctest2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not > stripped > > $ llvm-ar cru libctest.a *.o > > $ ls > > ctest1.c ctest1.o ctest2.c ctest2.o libctest.a prog.c > > $ llvm-ar t libctest.a > > ctest1.o > > ctest2.o > > $ llvm-nm libctest.a > > $ nm libctest.a > > nm: #_LLVM_SYM_TAB_: File format not recognized > > ctest1.o: &gt...
2011 Aug 09
1
[LLVMdev] llvm-gcc with static libraries
Hi, Thanks for the pointers. I built binutils and installed them in the same place as llvm-gcc. However, I see the following error at the link step: $ llvm-gcc prog.c libctest.a collect2: ld terminated with signal 6 [Aborted] /tmp/llvm-gcc4.2-2.9-x86_64-linux/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/../../../../x86_64-unknown-linux-gnu/bin/ld: error: libctest.a: malformed archive header name at 8 terminate called after throwing an instance of 'std::length_error&...
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
On Tue, Aug 9, 2011 at 12:03 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > `/usr/bin/ld -v' says it is not running gold and I suppose fixing that would > require place LLVMgold.so into /usr/lib/bfd-plugins. Is there any way to > make this work without requiring root access to the machine? If you install your own version of binutils into the same prefix as llvm-gcc, it should