search for: staticanddynamic

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

2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
.../bin/nm or llvm-nm (depending on the use of --emit-llvm flag to llvm-gcc), one of them is able to list the symbols in the archive file. However, the link step fails. Two sample runs follow. Am I missing any options? The source code was obtained from: http://www.yolinux.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 ct...
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
...depending on the use of --emit-llvm > flag to llvm-gcc), one of them is able to list the symbols in the archive > file. However, the link step fails. Two sample runs follow. Am I missing any > options? The source code was obtained > from: http://www.yolinux.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 &g...
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
...-llvm > > flag to llvm-gcc), one of them is able to list the symbols in the archive > > file. However, the link step fails. Two sample runs follow. Am I missing > any > > options? The source code was obtained > > from: > http://www.yolinux.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 > > $...