[cfe-dev] Hi, everyone, fail on building c-index-test
罗勇刚(Yonggang Luo)
luoyonggang at gmail.com
Thu Oct 1 06:36:25 PDT 2009
At the first glance, it's coming with that c-index-test is just only
containing c files (without cpp(cxx,c++) files).
So cmake recognize it as pure C project,
and so it's link options that resident in link.txt is
*/usr/bin/gcc* CMakeFiles/c-index-test.dir/c-index-test.c.o -o
../../../../bin/c-index-test -rdynamic ../../../../lib/libCIndex.so
../../../../lib/libclangIndex.a ../../../../lib/libclangFrontend.a
../../../../lib/libclangSema.a ../../../../lib/libclangAST.a
../../../../lib/libclangLex.a ../../../../lib/libclangBasic.a
../../../../lib/libLLVMBitReader.a ../../../../lib/libLLVMMC.a
../../../../lib/libLLVMCore.a ../../../../lib/libLLVMSupport.a
../../../../lib/libLLVMSystem.a -ldl -lpthread
-Wl,-rpath,/home/dreamkxd/llvm/lib
And so, it's won't linkage with C++ library. So it's failure to compiling
the c-index-test project
Is there any solution to this problem?
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091001/6b58cb04/attachment.html>
More information about the cfe-dev
mailing list