Displaying 5 results from an estimated 5 matches for "decac".
Did you mean:
decay
2010 Nov 03
0
[LLVMdev] LLVM Cmake module?
...mponents_to_libraries(REQ_LLVM_LIBRARIES jit native core)
> # Finally, we link the LLVM libraries to our executable:
> target_link_libraries(jllvm ${REQ_LLVM_LIBRARIES})
I run "cmake ." where I've got my source and then make. This results in:
> eli at eli-netbook:~/Programs/decac/src/jllvm/llvm$ make
> Scanning dependencies of target jllvm
> [ 9%] Building C object CMakeFiles/jllvm.dir/Analysis_wrap.c.o
> In file included from /usr/include/llvm-c/Core.h:36,
> from /usr/include/llvm-c/Analysis.h:22,
> from
> /home/eli/Pro...
2010 Nov 03
2
[LLVMdev] LLVM Cmake module?
[Please CC the mailing list]
Eli Gottlieb <eligottlieb at gmail.com> 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)
>>
2010 Nov 03
6
[LLVMdev] LLVM Cmake module?
...ething not being set properly.
[snip]
>> [ 9%] Building C object CMakeFiles/jllvm.dir/Analysis_wrap.c.o
>> In file included from /usr/include/llvm-c/Core.h:36,
>> from /usr/include/llvm-c/Analysis.h:22,
>> from
>> /home/eli/Programs/decac/src/jllvm/llvm/Analysis_wrap.c:190:
>> /usr/include/llvm/System/DataTypes.h:46: error: #error "Must #define
>> __STDC_LIMIT_MACROS before #including System/DataTypes.h"
>> /usr/include/llvm/System/DataTypes.h:50: error: #error "Must #define
>> __STDC_CONSTANT_...
2010 Nov 04
0
[LLVMdev] LLVM Cmake module?
...> [snip]
>
>>> [ 9%] Building C object CMakeFiles/jllvm.dir/Analysis_wrap.c.o
>>> In file included from /usr/include/llvm-c/Core.h:36,
>>> from /usr/include/llvm-c/Analysis.h:22,
>>> from
>>> /home/eli/Programs/decac/src/jllvm/llvm/Analysis_wrap.c:190:
>>> /usr/include/llvm/System/DataTypes.h:46: error: #error "Must #define
>>> __STDC_LIMIT_MACROS before #including System/DataTypes.h"
>>> /usr/include/llvm/System/DataTypes.h:50: error: #error "Must #define
>>>...
2010 Nov 09
0
[LLVMdev] linking error in LLVM C bindings.
...got another problem. When I actually connect 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...