OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: omega on November 03, 2004, 01:30:13 pm
-
Hi,
I'm writing some DSP stuff in C and i found trouble trying to get sin / cos functions... any advice? i tried including math.h and tgmath.h...
-
I'm able to build this:
#include
#include
int main(void)
{
printf("sin(%f) = %f\n", 1.0, sin(1.0));
return 0;
}
like this:
$ gcc -o sintest sintest.c -lm
and it works fine here.
Dave
-
score! thank you very much, the -lm did it...