Hello everyone.
I'm getting crazy trying to make the internal dynamixc LIBM to work properly in formware 4.1.0.
It links properly, but all functions returns wrong values, as if the format was wrong or something.
exemple :
double d = atof("9999")
printf("%f", d) prints "-1.998871
I'm not using anything weird, here are the main things in my Makefile :
TOOLS=/opt/open2x/gcc-4.1.1-glibc-2.3.6
CFLAGS=`$(TOOLS)/bin/sdl-config --cflags`
LDFLAGS=-Wl,-rpath,$(TOOLS)/lib -L$(TOOLS)/lib -lSDL_ttf -lSDL_mixer -lfreetype -lSDL -lm
As you can see, i'm using open2x, and if I link with synamic libraries, that's beca
... that's because I want to use the internal SDL to get access to the fixed touchscreen routines. Seems a bad idea finally but what the heck ?
I'd appreciate if somebody can point what's going wrong with these stupid libraries ?
Flynn
I'm getting crazy trying to make the internal dynamixc LIBM to work properly in formware 4.1.0.
It links properly, but all functions returns wrong values, as if the format was wrong or something.
exemple :
double d = atof("9999")
printf("%f", d) prints "-1.998871
I'm not using anything weird, here are the main things in my Makefile :
TOOLS=/opt/open2x/gcc-4.1.1-glibc-2.3.6
CFLAGS=`$(TOOLS)/bin/sdl-config --cflags`
LDFLAGS=-Wl,-rpath,$(TOOLS)/lib -L$(TOOLS)/lib -lSDL_ttf -lSDL_mixer -lfreetype -lSDL -lm
As you can see, i'm using open2x, and if I link with synamic libraries, that's beca
... ooops hit the return key, silly me._Flynn_ said:As you can see, i'm using open2x, and if I link with synamic libraries, that's beca
... that's because I want to use the internal SDL to get access to the fixed touchscreen routines. Seems a bad idea finally but what the heck ?
I'd appreciate if somebody can point what's going wrong with these stupid libraries ?
Flynn
Last edited by a moderator: