This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use the function in "math.h" by xdc?

Hi,all! I am a new in Davince field.Currently I am working on immigrating the program(by c) to the DM6446 by xdc tools. I have to use the math.h in the program.When I compilered it, it shows that undefined reference 'sin'.

The c source for the function like:

#include <stdlib.h>
#include <math.h>
int main() { double a = sin (30.0); }
I used the xdc tools to compile. It says undefined reference 'sin'.
And I do have configurate the path which xdc needed.

Is any one body can provide better solution. your help will greatly appreciated. waiting for your messages and help。