Displaying 3 results from an estimated 3 matches for "e0082888".
Did you mean:
008288
2010 Jun 05
1
[LLVMdev] undefined reference when using llvm-config
On Sat, Jun 5, 2010 at 3:18 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Tom,
>
> I'm pretty sure that the LLVMContext constructor is defined in libLLVMCore.a
> What is the output of `llvm-config --libs bitwriter`? Does it include
> -lLLVMCore?
Hi Duncan,
e0082888 at e0082888-laptop:~$ local/bin/llvm-config --libs bitwriter
-lLLVMBitWriter -lLLVMCore -lLLVMSupport -lLLVMSystem
I verified it's pulling from the right library directory, because if I
hide libLLVMCore.a from view and I get:
e0082888 at e0082888-laptop:~/projects/llvm-hs/tools/ModuleMaker$...
2010 Jun 04
2
[LLVMdev] undefined reference when using llvm-config
...x66): undefined reference to
`llvm::Module::Module(llvm::StringRef, llvm::LLVMContext&)'
ModuleMaker.cpp:(.text+0x7a): undefined reference to
`llvm::Type::getInt32Ty(llvm::LLVMContext&)'
...
For reference:
$ $HOME/local/bin/llvm-config --cppflags --ldflags --libs bitwriter
-I/home/e0082888/local/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-L/home/e0082888/local/lib -lpthread -ldl -lm
-lLLVMBitWriter -lLLVMCore -lLLVMSupport -lLLVMSystem
I also get the same result if I remove 'bitwriter' from the
llvm-config argument list so as to link with...
2010 Jun 05
0
[LLVMdev] undefined reference when using llvm-config
Hi Tom,
> I'm trying to start a project based on llvm, but am running into some
> difficulties. I started with the 'LLVM Project Guide', but got hung
> up in the complexities of configure.ac. I'm now using llvm-config to
> provide the linker directives, but this results in undefined
> references:
>
> $ llvm-g++ `$HOME/local/bin/llvm-config --cppflags