Lei Mou
2012-May-09 12:20 UTC
[LLVMdev] How to correctly generate library dependences using llvm-config
Hi all, I created a stub backend foo modified from the PTX backend, and made the corresponding modifications in configure.sh, include/ADT/Triple.h and lib/Support/Triple.cpp. However, when compiling using --enable-targets=foo, llc cannot linked properly due to the fact that -lLLVMFOODesc (generated from folder MCTargetDesc) is missing from the command line. I tried to use llvm-config foo --libs and found that -lLLVMFOODesc is not in the library dependences. I have no idea why this happens. How can this problem be solved? Any help is appreciated! Thanks! Regards, Lei Mou -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120509/4b56f510/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Question about PTXFrameLowering
- [LLVMdev] Question about PTXFrameLowering
- [LLVMdev] Legalizing truncating store using atomic load.
- [LLVMdev] Legalizing truncating store using atomic load.
- [LLVMdev] Conceptual difference between "Unallocatable" and "Reserved" registers.