<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 11, 2016 1:47 PM, "Rehab Massoud" <<a href="mailto:rehab.massoud@gmail.com">rehab.massoud@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="quoted-text">On Sun, Dec 11, 2016 at 8:29 PM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="auto"><span class="m_2287216091611141470gmail-"><div><br><br></div></span><div dir="auto">What did you do to link against libm. What was the actual command line for linking?</div></div></blockquote></div><div> In a cmake's CMakeCache.txt file I added -lm at the linking options. But this didn't work alone without the -std=c99. <br></div></div></div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Copy and paste the generated gcc command which was invoked to link. The -std option really doesn't have any impact on the libm issue.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div class="quoted-text"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><br><div dir="auto"><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="m_2287216091611141470gmail-m_-3534625055027763340quote"><div dir="ltr"><div><div><div><div><br clear="all"><div><div class="m_2287216091611141470gmail-m_-3534625055027763340m_3753579534945488338gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="Calibri" size="2">Best Regards,</font></div><font color="#888888">
<div><font size="2"> </font></div>
<div><font face="Calibri" size="2">Rehab<br></font></div></font></div></div></div></div></div></div></div>
</div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a rel="noreferrer" href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br></blockquote></div></div></div></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div></div></div>