<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Mikhail, <br>
<br>
It sounds like you have been through this, which is really helpful
for everyone. Yes, we are using autotools (we will add CMake in a
few months) and would really like any scripts you are willing to
share. <br>
<br>
I have been running the test on Windows while Ansel has been
testing on Debian. He was not aware of all the flags you can pass
to 'llvm-config', this was great information. Right now he has
link issues but not the same ones as I have on Windows. <br>
<br>
Thanks, <br>
<br>
Barbara<br>
<br>
<br>
</div>
<blockquote
cite="mid:CAORA-9YObFUo-+6NFS1vjWWa2Qwi8t38TixnksbtS6+ZvgoTWw@mail.gmail.com"
type="cite">
<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>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div><br>
</div>
<div>Mikhail Ramalho.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br />
<table style="border-top: 1px solid #aaabb6;">
<tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange-v1.png" /></a></td>
<td style="width: 470px; padding-top: 15px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</table></body>
</html>