Displaying 3 results from an estimated 3 matches for "lllvmbcreader".
Did you mean:
llvmbcreader
2004 Dec 30
0
[LLVMdev] Primer with LLVM
...ker.a archive,
that is correct.
> but
> gcc linker reports 'undefined' errors for this functions.
The only thing I can think of is dependencies that libLLVMLinker has.
You will probably want a linke line that looks something like:
gcc -o myapp myapp.o -lLLVMLinker -lLLVMArchive -lLLVMBCReader \
-lLLVMBCWriter -lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem
To get examples of these library specifications, look at the llvm-ld and
gccld tools' Makefiles.
> I don't use the
> makefile system from LLVM because is so complex to incorporate in this point
> of my work...
2004 Dec 30
3
[LLVMdev] Primer with LLVM
Hi, everybody:
I am a beginner with LLVM, in fact today was the first day that I use it.
I have several questions about LLVM:
Can I use LLVM to compile several files (bytecode), scripts (char*) and link
them with external libraries generating *only* one executable (all in
memory)?
Can I invoke externals functions from a guest (LLVM generated) code which
exist in the host code (the code that
2004 Dec 31
4
[LLVMdev] Primer with LLVM
...ker.a archive,
that is correct.
> but
> gcc linker reports 'undefined' errors for this functions.
The only thing I can think of is dependencies that libLLVMLinker has.
You will probably want a linke line that looks something like:
gcc -o myapp myapp.o -lLLVMLinker -lLLVMArchive -lLLVMBCReader \
-lLLVMBCWriter -lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem
To get examples of these library specifications, look at the llvm-ld and
gccld tools' Makefiles.
> I don't use the
> makefile system from LLVM because is so complex to incorporate in this
point
> of my work...