Trouble pulling in libm

Ralf Corsepius ralf.corsepius at rtems.org
Fri Jan 14 04:52:34 UTC 2011


On 01/14/2011 05:42 AM, Andrei Chichak wrote:
> Check the commands that are being sent to gcc and the linker to make sure that the -lm is being passed through properly.
>
> It took me a heck of a long time to figure out exactly where to put the linker commands so that they actually got used. Mine is in my makefile.am and looks like:
>
> init_LDADD = -lm -ltelnetd
This longs for an explanation: Why do you need libtelnetd?

Adding -ltelnetd to get a function from -lm doesn't make sense.

Ralf



More information about the users mailing list