mak
Still Fresh
I know guys - yet another math thread - I've read up the forums found by searching for math.h and made sure I have linked in -lm, #include <math.h>, removed the -fshort-double switch.
But i still get the following when linking....
e:/sdk/gp32/lib/gcc-lib/arm-agb-elf/3.0.2/../../../../arm-agb-elf/lib/libmaksw.a(gpvector.o): In function `CGPVector::GetMagnitude()':
gpvector.o(.text+0x504): undefined reference to `sqrt'
same for sin, cos, atan, fabs etc...
and I am not interested in fixed point, or lookup tables just now. I want to get the standard lib working.
Rico mentioned in a thread that the math.h is fubar?
Surely someone somewhere has got math.h working and linked?, so that person, pleeeeease help!
(Oh, I am using devkitadvance btw...)
But i still get the following when linking....
e:/sdk/gp32/lib/gcc-lib/arm-agb-elf/3.0.2/../../../../arm-agb-elf/lib/libmaksw.a(gpvector.o): In function `CGPVector::GetMagnitude()':
gpvector.o(.text+0x504): undefined reference to `sqrt'
same for sin, cos, atan, fabs etc...
and I am not interested in fixed point, or lookup tables just now. I want to get the standard lib working.
Rico mentioned in a thread that the math.h is fubar?
Surely someone somewhere has got math.h working and linked?, so that person, pleeeeease help!
(Oh, I am using devkitadvance btw...)