On Thu, Sep 24, 2015 at 4:49 PM, sudarshan.rajagopalan <sudarshan.rajagopa...@vecna.com> wrote: > Hey all, > > We are developing a new BSP that uses math.h in few of the BSP files. I do
May I ask why do you need floating point operations in a kernel? At least, what sort of operations and why not move them upwards. > 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? > > Heres the custom config file: > > include $(RTEMS_ROOT)/make/custom/default.cfg > > RTEMS_CPU = arm > > LD_LIBS += -lm > > CPU_CFLAGS = -march=armv7-m -mthumb > > CFLAGS_OPTIMIZE_V = -O0 -g -mfloat-abi=hard -mfpu=fpv4-sp-d16 > > Thanks and Regards, > Sudarshan > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel -- Daniel F. Gutson Chief Engineering Officer, SPD San Lorenzo 47, 3rd Floor, Office 5 Córdoba, Argentina Phone: +54 351 4217888 / +54 351 4218211 Skype: dgutson LinkedIn: http://ar.linkedin.com/in/danielgutson _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel