[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using math functions
- Date: Wed, 21 Jul 1999 12:47:22 -0500 (CDT)
- From: joel at OARcorp.com (joel at OARcorp.com)
- Subject: Using math functions
On Wed, 21 Jul 1999, Xavier Valls Andreu wrote:
> I have been tried to use math functions in RTEMS aplication. In spite of
> RTEMS compile my aplication, when it tries to link RTEMS can't find math
> functions. Does anybody know how to install math library in RTEMS. I've
> tried to include libm.a in my aplication's makefile, but it doesn't
> work.
You should only have to set LD_LIBS if you are using the RTEMS Makefile
structure as shown below:
LD_LIBS += $(LIBC_LIBM)
This is from the paranoia sample test.
--joel
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985