search for: libjllvm

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

2010 Nov 04
0
[LLVMdev] LLVM Cmake module?
After I actually get everything compiling, install the library, and load it from my Java program, I get the following: > Exception in thread "main" java.lang.UnsatisfiedLinkError: > /usr/lib/libjllvm.so: /usr/lib/libjllvm.so: undefined symbol: > _ZTVN10__cxxabiv120__si_class_type_infoE If I have to guess, this means that the CMake stuff given is linking to the C++ libraries of LLVM when I wanted them linking to the C bindings. Any ideas? I definitely included the headers for the C bindi...
2010 Nov 03
6
[LLVMdev] LLVM Cmake module?
Eli Gottlieb <eligottlieb at gmail.com> writes: > I compiled and installed it to the prefix /usr, but that's not the > issue. Once I actually compile and install LLVM with CMake by hand, I > get the share/llvm/cmake stuff installed correctly (can those files be > included in "normal" builds, or will LLVM switch to CMake as its > primary build system?). Now
2010 Nov 09
0
[LLVMdev] linking error in LLVM C bindings.
...onnect things up to *use* the binding library I built, I run into an unresolved symbol error with respect to the function LLVMWriteBitcodeToFile(). The assembly dump showing that my library does have that function follows: > eli at eli-netbook:~/Programs/decac$ objdump -d > src/jllvm/llvm/libjllvm.so | grep LLVMWriteBitcodeToFile > 0055cd54 <LLVMWriteBitcodeToFileHandle at plt>: > 0058c504 <LLVMWriteBitcodeToFile at plt>: > 0059b577 <Java_jllvm_llvm_BitWriterJNI_LLVMWriteBitcodeToFile>: > 59b5bd: 74 32 je 59b5f1 > <Java_jllvm_l...
2010 Nov 03
2
[LLVMdev] LLVM Cmake module?
...> writes: > OK, I'm just going to paste in my CMakeLists.txt file. Like I said, > I'm building an LLVM install myself by untarring llvm, mkdir build in > the root dir of the source, cd build/, cmake .., make. > >> cmake_minimum_required (VERSION 2.6) >> project (libjllvm) >> add_library(jllvm Analysis_wrap.c BitReader_wrap.c BitWriter_wrap.c >> Core_wrap.c EnhancedDisassembly_wrap.c ExecutionEngine_wrap.c >> LinkTimeOptimizer_wrap.c lto_wrap.c Target_wrap.c >> Transforms/IPO_wrap.c Transforms/Scalar_wrap.c) >> >> # A convenience...
2010 Nov 03
0
[LLVMdev] LLVM Cmake module?
...rrectly (can those files be included in "normal" builds, or will LLVM switch to CMake as its primary build system?). Now I'm running into the problem of cflags or includes or something not being set properly. CMakeLists.txt: > cmake_minimum_required (VERSION 2.6) > project (libjllvm) > add_library(jllvm Analysis_wrap.c BitReader_wrap.c BitWriter_wrap.c > Core_wrap.c EnhancedDisassembly_wrap.c ExecutionEngine_wrap.c > LinkTimeOptimizer_wrap.c lto_wrap.c Target_wrap.c > Transforms/IPO_wrap.c Transforms/Scalar_wrap.c) > > # A convenience variable: > set(LL...