similar to: [LLVMdev] Is clang -g (gdb) support broken for mingw builds?

Displaying 6 results from an estimated 6 matches similar to: "[LLVMdev] Is clang -g (gdb) support broken for mingw builds?"

2012 Jul 17
0
[LLVMdev] llvm library linking issues
Eugene, how about below? $ clang clangtest.cpp `llvm-config --ldflags --libs core` (I guess linking order would be) 2012/7/18 Eugene <code_ep at yahoo.com>: > The output of `llvm-config --cppflags --ldflags --libs core support` and > `llvm-config --cppflags --ldflags --libs core` is the same. I've also tried specifying -lLLVMSupport manually. Same result. > > --Eugene >
2012 Jul 17
2
[LLVMdev] llvm library linking issues
I do this, and I've tried a few variations of on it: clang++ `llvm-config --cppflags --ldflags --libs core`  -o clangtest clangtest.cpp I've also tried removing the library and the include file in turn, which in both cases succefully made the compiler not find the files needed. ----- Original Message ----- Hi Eugene, On 17/07/12 03:46, Eugene wrote: > I'm trying to make use of
2012 Jul 17
0
[LLVMdev] llvm library linking issues
Hi Eugene, > I do this, and I've tried a few variations of on it: > clang++ `llvm-config --cppflags --ldflags --libs core` -o clangtest clangtest.cpp the missing routine is defined in the support library, not the core library, try --libs core support Ciao, Duncan. > > I've also tried removing the library and the include file in turn, which in both cases succefully made the
2012 Jul 17
3
[LLVMdev] llvm library linking issues
The output of `llvm-config --cppflags --ldflags --libs core support` and `llvm-config --cppflags --ldflags --libs core` is the same. I've also tried specifying -lLLVMSupport manually. Same result.  --Eugene ----- Original Message -----  Hi Eugene, >I do this, and I've tried a few variations of on it: >clang++ `llvm-config --cppflags --ldflags --libs core` -o clangtest
2012 Jul 17
0
[LLVMdev] llvm library linking issues
Hi Eugene, On 17/07/12 03:46, Eugene wrote: > I'm trying to make use of the llvm compiler libraries, but I can't get them to link to my program correctly. > > #include <llvm/Constants.h> > #include <llvm/DerivedTypes.h> > > > int main(){ > > llvm::APInt(1,0); > > return 0; > } > > I get an error like: > undefined reference to
2012 Jul 17
2
[LLVMdev] llvm library linking issues
I'm trying to make use of the llvm compiler libraries, but I can't get them to link to my program correctly. #include <llvm/Constants.h> #include <llvm/DerivedTypes.h> int main(){   llvm::APInt(1,0);   return 0; } I get an error like: undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool) (this function is called by the inline