Math lib inclusion in BSP

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 25 05:33:20 UTC 2015



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

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list