<div dir="ltr">The documentation on that github page says c++14<div><br></div><div>make sure your </div><div>CXXFLAGS have -std=c++14</div><div>LDFLAGS have -fuse-ld=lld -lc++ -lc++abi -lm -lc</div><div><br></div><div>Going forward If the link fails u have to provide more information as to what errors ur getting.</div><div><br>Best<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018 at 4:02 AM Osman Zakir via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<span>I already mentioned what flag I tried.  It's in the first email in this thread.  And I want to link against Boost.System and the Jinja2Cpp library (the latter's documentation can be found here:
<a id="m_7026297017409472746LPlnk529565" href="https://github.com/flexferrum/Jinja2Cpp" target="_blank">https://github.com/flexferrum/Jinja2Cpp</a> .  And I also have some GUI applications using FLTK as well that I want to try to build using LLVM as well, so I'll have to know how to link against
 FLFK's libraries too.  </span></div>
<div class="m_7026297017409472746LPBorder638912" id="m_7026297017409472746LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL2ZsZXhmZXJydW0vSmluamEyQ3Bw" style="width:100%;margin-top:16px;margin-bottom:16px;min-width:424px;max-width:800px">
<table id="m_7026297017409472746LPContainer638912" style="padding:12px 36px 12px 12px;border-radius:2px;border:1px solid rgb(200,200,200);width:100%">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td>
<div id="m_7026297017409472746LPImageContainer638912" style="height:160px;overflow:hidden;margin-right:12px">
<a id="m_7026297017409472746LPImageAnchor638912" href="https://github.com/flexferrum/Jinja2Cpp" target="_blank"><img width="160" height="160" id="m_7026297017409472746LPThumbnailImageId638912" style="display:block" alt="" src="https://avatars3.githubusercontent.com/u/1494258?s=400&v=4"></a></div>
</td>
<td style="width:100%">
<div id="m_7026297017409472746LPTitle638912" style="font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:21px;font-weight:300;margin-right:8px;margin-bottom:12px">
<a id="m_7026297017409472746LPUrlAnchor638912" style="color:var(--themePrimary);text-decoration:none" href="https://github.com/flexferrum/Jinja2Cpp" target="_blank">GitHub - flexferrum/Jinja2Cpp: Jinja2 C++ (and for C++) almost full-conformance template engine
 implementation</a></div>
<div id="m_7026297017409472746LPDescription638912" style="color:rgb(102,102,102);overflow:hidden;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;margin-right:8px;margin-bottom:12px;max-height:100px">
Join GitHub today. GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.</div>
<div id="m_7026297017409472746LPMetadata638912" style="color:rgb(166,166,166);font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;font-weight:400">
<a href="http://github.com" target="_blank">github.com</a></div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div id="m_7026297017409472746appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_7026297017409472746divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> blubee blubeeme <<a href="mailto:gurenchan@gmail.com" target="_blank">gurenchan@gmail.com</a>><br>
<b>Sent:</b> Wednesday, December 12, 2018 12:54 AM<br>
<b>To:</b> Osman Zakir<br>
<b>Cc:</b> llvm-dev<br>
<b>Subject:</b> Re: [llvm-dev] Using LLD to link against third-party libraries? How?</font>
<div> </div>
</div>
<div>
<div dir="ltr">That depends on the library that you'd like to link against, it's usually in the documentation of that project.
<div><br>
</div>
<div>What project are you trying to link and what linker flags have you tried so far?</div>
<div><br>
</div>
<div>Best<br>
<div><br>
<div class="m_7026297017409472746x_gmail_quote">
<div dir="ltr">On Wed, Dec 12, 2018 at 3:49 AM Osman Zakir via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
</div>
<blockquote class="m_7026297017409472746x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
I add the -fuse-ld=lld flag to the compiler command line itself.   And I included LLD when I built LLVM (I checked out the mono repo and built that version).  </div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
What command line arguments should I pass to LLD when I want to link against third-party libraries?  That's what I'm asking.<br>
</div>
<div>
<div>
<div class="m_7026297017409472746x_m_149038713567023161x_gmail_quote">
<blockquote class="m_7026297017409472746x_m_149038713567023161x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
</div>
</div>
</div>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div></div>