I added -lm in LDFLAGS in my custom bsps/arm/tms570/config/xxx.cfg

the flag is added to compiling arguments, but it still reported undefined
reference to 'floor', but I see there is floor symbols in the
arm-rtems5/lib/libm.a

Why is it?

Thanks

On Fri, Jul 22, 2022 at 1:43 PM Y. HB <sprh...@gmail.com> wrote:

> Hello
>
> I'm working on a custom tms570 bsp upon RTEMS 5.1, but it depends on math
> lib (-lm), how can I add this flag to the bsp build?
>
> Shall I add LDFLAGS="-lm" during configure or shall I change some
> variables in c/src/lib/libbsp/arm/xxxx/Makefile.am?
>
> Thanks
>
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to