Re: How can I add LDFLAGS for bsp build?

2022-07-21 Thread Y. HB
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 wrote: > Hel

How can I add LDFLAGS for bsp build?

2022-07-21 Thread Y. HB
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//Makefile.am? Thanks __