SPARC floating point functions from math.h

Rehab Massoud rehab.massoud at gmail.com
Sun Dec 11 19:59:20 UTC 2016


and as per your advice  __asm did the trick for the leon.h. But it was only
masking the floating point functions linking error. So even with the
-std=c99 option the linking is still not working.

Best Regards,

Rehab Massoud

On Sun, Dec 11, 2016 at 8:46 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.
>
>>
>>
>>
>> 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/9c6391fb/attachment-0002.html>


More information about the users mailing list