SPARC floating point functions from math.h

Joel Sherrill joel at rtems.org
Sun Dec 11 21:25:52 UTC 2016


On Dec 11, 2016 1:47 PM, "Rehab Massoud" <rehab.massoud at gmail.com> wrote:

On Sun, Dec 11, 2016 at 8:29 PM, Joel Sherrill <joel at rtems.org> wrote:

>
>
> What did you do to link against libm. What was the actual command line for
> linking?
>
 In a cmake's CMakeCache.txt file I added -lm at the linking options. But
this didn't work alone without the -std=c99.


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.


>
>
> Best Regards,
>
> Rehab
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20161211/f2706779/attachment.html>


More information about the users mailing list