[LLVMdev] llvm-config error

NAKAMURA Takumi geek4civic at gmail.com
Mon Sep 6 21:57:53 PDT 2010


Good afternoon, António.

2010/9/7 António Saragga Seabra <antseabra at gmail.com>:
> $g++ -g –O3 toy.cpp `llvm-config –cppflags –ldflags –libs core`-o toy
>
> c:/llvm-2.7/Release/lib/libLLVMSystem.a(Signals.o):Signals.cpp:(.text+0x4d4):
> undefined reference to `_imp__SymSetOptions at 4'

I guess it might be a known issue;
http://llvm.org/bugs/show_bug.cgi?id=3347

Would you like me to show the result of "llvm-config –cppflags
–ldflags –libs core"?
And please try specifying libs (-lLLVMCore -lLLVMSupport -lLLVMSystem
-lpsapi -limagehlp -lm) manually.

...Takumi




More information about the llvm-dev mailing list