# Trig funtions in Library?

#1

When I compile (gcc arm and ADL 4.20.04 on the Q2687) the linker can’t find any of the trig funcions (atan, sin, cos etc.)
Are these not included in the package? It compiles OK using the <math.h> include but gives me the linker error. I’m using Visual C++ 6.0 IDE…
the Eclipse seems to trash my project from time to time and I have to spend too much time puting it back together.

#2

Hello,

Search for the “math.h” on the previous posts and you will find the answer.

Cheers,
tom

#3

Thanks worked fine. Added the external library file libm.a reference to the makefile.