[cfe-dev] problem building clang tutorials

Kevin Steiner c934w-kev7gn4lc at yahoo.de
Wed Nov 28 12:18:38 PST 2012


ok thanks. The linking order was the problem indeed:
Placing -lclangEdit after -lclangSema gets it to build.
So the working CLANGLIBS for the tutorial makefile are:
#-------------------
CLANGLIBS = \
        -lclangRewrite \
    -lclangFrontend \
    -lclangParse \
    -lclangSema \
        -lclangEdit \
    -lclangAnalysis \
    -lclangAST \
    -lclangLex \
    -lclangBasic \
    -lclangDriver \
    -lclangSerialization \
    -lLLVMMC \
    -lLLVMSupport \
#---------------------

Thanks again and Best Regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121128/c55610be/attachment.html>


More information about the cfe-dev mailing list