Trouble pulling in libm

John Wood jwood at
Fri Jan 14 01:24:16 UTC 2011


The code I wrote was in a file that I had added to rtems as a helper to a driver for calculating some coefficients.
It appears if the code is in my app it links but not if it is in the rtems code.


-----Original Message-----
From: rtems-users-bounces at [mailto:rtems-users-bounces at] On Behalf Of John Wood
Sent: Thursday, January 13, 2011 8:16 PM
To: rtems-users at
Subject: Trouble pulling in libm

Greetings all,

I am using rtems 4.9.2 on a Virtex 4 device with uses the 403 cpu.  I have written a some code that needs some of the libm functions but I get a linker error even with -lm passed to the linker.  I do not get an error indicating the library is not found.

Any suggestions?


rtems-users mailing list
rtems-users at

More information about the users mailing list