Problem of C program include "math.h"

willisfield willisfield at 163.com
Thu Mar 2 10:28:13 UTC 2006


Hi,all!
    I include "math.h" in a my C program but the sparc-rtems-gcc compiler doesn't recognize some of the functions such as "sin()". In gcc, I have hear of the option "-lm" works, but the sparc-rtems-gcc doesn't work.
    Can you give me some hints, thanks very much!
	Best regards
willisfield





More information about the users mailing list