On 2015-09-25 01:33, Sebastian Huber wrote:
On 24/09/15 21:49, sudarshan.rajagopalan wrote:
We are developing a new BSP that uses math.h in few of the BSP files.
I do understand that the math library functions are not part of
standard C library and has to be linked using "-lm". So I include
"LD_LIBS += -lm" in the custom .cgf config file but this doesn't seem
to work. I think this has to be linked in a proper order. Could
someone help with this?
This seems to be a candidate for a FAQ:
https://lists.rtems.org/pipermail/devel/2014-October/008322.html
This patch would solve the problem:
https://lists.rtems.org/pipermail/devel/2014-September/008191.html
Is the above patch committed to the master? I applied the above patch to
the "bsp_specs" file specific to the BSP processor and it worked, but
couldn't find the gcc/config/rtems.h
file mentioned. Is the file moved or changed?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel