[cfe-dev] Clang / LLVM Header Include Issue

David Röthlisberger david at rothlis.net
Mon Aug 15 08:27:25 PDT 2011


On 15 Aug 2011, at 16:01, Laurence Herbert wrote:

> When I attempt to execute this command -
> 
> g++ tut.cpp -g -o tut.out \
> `$LLVM/Debug+Asserts/bin/llvm-config --cxxflags` \
> -I$LLVM/tools/clang/include/ \
> -lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization \
> -lclangCodeGen -lclangParse -lclangSema -lclangChecker -lclangAnalysis \
> -lclangIndex -lclangRewrite -lclangAST -lclangLex -lclangBasic \
> `$LLVM/Debug+Asserts/bin/llvm-config --ldflags --libs`
> 

What is the output of
    $LLVM/Debug+Asserts/bin/llvm-config --cxxflags
and
    $LLVM/Debug+Asserts/bin/llvm-config --ldflags --libs





More information about the cfe-dev mailing list