Hi,

i tried to compile this program

#include <math.h>
int
main (void)
{
   if (sin(1.23)>0.5)
      for(;;);
  return 0;
}

and it compiles with 

> gcc -lm -o test1.elf test1.c

but not with

> msp430-gcc -lm -mmcu=msp430x149 -g -Os -o test1.elf test1.c
/tmp/ccSR3TDl.o(.text+0xe): In function `main':
/home/user/c/mspgcc/test1/test1.c:5: undefined reference to `sin'

Is the sine function of mspgcc not implemented?

Regards,

Rolf



Reply via email to