<div dir="ltr">Hi Barbara,<div><br></div><div>We're using libTooling in a project and, after a few tries, the minimum libs required that we found was:</div><div><br></div><div>-lclangTooling -lclangDriver -lclangFrontend -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangLex -lclangAST -lclangBasic <b>-lLLVMBitReader -lLLVMOption -lLLVMMC -lLLVMMCParser -lLLVMSupport</b><br></div><div><br></div><div>The bold part you can get from `llvm-configĀ --libs mcparser option bitreader` (it will actually return them + -lLLVMCore, which increases our static binary by ~9MB). We also append `llvm-config --system-libs`, for llvm's dependencies.</div><div><br></div><div>For clang libs, you'll have to write them by yourself as there is no way to request them from the system/pkgconfig (please, someone correct me if I'm wrong).</div><div><br></div><div>If you use autotools in your project, I can provide the m4 scripts to find those libraries.</div><div><br></div><div>Thank you,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-26 8:57 GMT+01:00 Csaba Raduly via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Apr 24, 2016 at 3:10 PM, Russell Wallace via cfe-dev<br>
<<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br>
><br>
> How did you get LLVM to build with MinGW? I get an error message when I try cmake -G "MinGW Makefiles"<br>
><br>
<br>
</span>"cmake --help" will list all available generators. You might need to use<br>
<br>
cmake -G "Unix Makefiles"<br>
<br>
even on MinGW<br>
<br>
<br>
Csaba<br>
<span class="HOEnZb"><font color="#888888">--<br>
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++<br>
The Tao of math: The numbers you can count are not the real numbers.<br>
Life is complex, with real and imaginary parts.<br>
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds<br>
"People disagree with me. I just ignore them." -- Linus Torvalds<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div><div>Mikhail Ramalho.</div></div></div>
</div>