<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/21/17 10:01 AM, Kyriakos Georgiou
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB4PR06MB3802AC458AA5004710BEBD2A1230@DB4PR06MB380.eurprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p>Hi Jon,</p>
<p><br>
</p>
<p>I tried this and I am getting:</p>
</div>
</blockquote>
<br>
I'd need your entire clang invocation, plus '-v'.<br>
<br>
<br>
Jon<br>
<br>
<blockquote type="cite"
cite="mid:DB4PR06MB3802AC458AA5004710BEBD2A1230@DB4PR06MB380.eurprd06.prod.outlook.com">
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p><br>
</p>
<div>/usr/local/lpcxpresso_8.2.2_650/lpcxpresso/tools/arm-none-eabi/bin/ld:
cannot find -lc</div>
<div>/usr/local/lpcxpresso_8.2.2_650/lpcxpresso/tools/arm-none-eabi/bin/ld:
cannot find -lm</div>
<div>clang-6.0: error: ld.lld command failed with exit code 1
(use -v to see invocation)</div>
<div><br>
</div>
<p>Is this similar to this bug?</p>
<p><a
href="https://www.mail-archive.com/llvm-bugs@lists.llvm.org/msg14451.html"
class="OWAAutoLink" moz-do-not-send="true">https://www.mail-archive.com/llvm-bugs@lists.llvm.org/msg14451.html</a><br>
</p>
<p><br>
</p>
<p>Kind Regards,</p>
<p>Kyriakos</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Jonathan Roelofs <a class="moz-txt-link-rfc2396E" href="mailto:jonathan@codesourcery.com"><jonathan@codesourcery.com></a><br>
<b>Sent:</b> 21 November 2017 16:13:45<br>
<b>To:</b> Kyriakos Georgiou; <a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<b>Subject:</b> Re: [cfe-dev] How to configure clang to use
arm-none-eabi linker</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:10pt;">
<div class="PlainText"><br>
<br>
On 11/21/17 8:38 AM, Kyriakos Georgiou via cfe-dev wrote:<br>
> I am trying to configure the last version of clang
(6.0) to use the <br>
> arm-none-eabi linker instead of the ld.lld but clang
is always ignoring <br>
> everything and keep asking for the ld.lld one. I am
trying to build for <br>
> cortex-m3 (lpx1769 board). How do I force clang to
use the linker I want?<br>
> <br>
> -fuse-ld=ld is also not working, so does clang no
longer allow the use <br>
> of any other linker?<br>
<br>
-fuse-ld=path/to/arm-none-eabi-ld<br>
<br>
> <br>
> Thank you,<br>
> <br>
> Kyriakos<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a class="moz-txt-link-abbreviated" 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"
moz-do-not-send="true">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
> <br>
<br>
-- <br>
Jon Roelofs<br>
<a class="moz-txt-link-abbreviated" href="mailto:jonathan@codesourcery.com">jonathan@codesourcery.com</a><br>
CodeSourcery / Mentor Embedded / Siemens<br>
</div>
</span></font></div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jon Roelofs
<a class="moz-txt-link-abbreviated" href="mailto:jonathan@codesourcery.com">jonathan@codesourcery.com</a>
CodeSourcery / Mentor Embedded / Siemens</pre>
</body>
</html>