<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:16 AM, Kyriakos Georgiou
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB4PR06MB380DC37CBFE0B91A0F9D772A1230@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>Here it is:</p>
<p><br>
</p>
<div>clang -v
-fuse-ld=/usr/local/lpcxpresso_8.2.2_650/lpcxpresso/tools/arm-none-eabi/bin/ld
-target arm-none-eabi -isystem
/usr/local/lpcxpresso_8.2.2_650/lpcxpresso/tools/arm-none-eabi/include/
--static -mthumb -mcpu=cortex-m3 -D__USE_LPCOPEN -D__CODE_RED
-D__REDLIB__ -DCHIP_LPC175X_6X -DCORE_M3 -ffunction-sections
-fdata-sections
/home/kg8280/work/PapersOnProgress/RAC/beebs-lpc1115_hardware_llvm5.0/config/arm/chips/lpc175x_6x/crp.c
/home/kg8280/work/PapersOnProgress/RAC/beebs-lpc1115_hardware_llvm5.0/config/arm/chips/lpc175x_6x/custom_clocking.c
-nostdlib
-L/home/kg8280/work/PapersOnProgress/RAC/beebs-lpc1115_hardware_llvm5.0/config/arm/chips/lpc175x_6x
-L/usr/local/lpcxpresso_8.2.2_650/lpcxpresso/tools/arm-none-eabi/include
-llpc_chip_175x_6x -T
/home/kg8280/work/PapersOnProgress/RAC/beebs-lpc1115_hardware_llvm5.0/config/arm/chips/lpc175x_6x/standalone.ld
-Wl,--gc-sections -Wl,--start-group -lc -lm -Wl,--end-group
conftest.c <br>
</div>
</div>
</blockquote>
<br>
And where do your -lc / -lm live? I don't see a `--sysroot=`.<br>
<br>
<br>
Jon<br>
<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>