----- Original Message ----- From: "Gao Zhengsu" <g...@clarkson.edu> To: <mspgcc-users@lists.sourceforge.net> Sent: Thursday, April 08, 2004 7:36 PM Subject: [Mspgcc-users] Need Help For Math Function.
> Hi, All, > I want to use mspgcc math.h, for example, sqrt(), buy compiler always tells > me that the sqrt() is not defined reference. I have add #include <math.h>. > Can anybody tell me what mistake I have? Have you used -lm to ensure that the maths library is linked in? Leon