[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:


This is from the paranoia sample test.

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