I can't create working gpe. I try lot of variants, but now unsuccessfuly. Next three variants:
dynamic linking from command line - gpe after starting write that some functions not defined
in gp2x's libraries (__truncdfsd2)
static linking from command line
ld wrote for same functions from libgcc undefined - "undefined reference to `__divsi3'",
but in dynamic mode no these messages
ppcrossarm -dgp2x sdltest.dpr
ld wrote for each *.o
"arm-linux-ld.exe: ERROR: *.o uses hardware FP, whereas sdltest uses software FP"
and undefined some functions in same libraries (libgcc, libmikmod ...)
gpe from your samples I can make only with dynamic linking from command line. 3d.gpe work, but
in screen only two white line, and ortho.gpe put error in start.
And another question - with math I can use math function and float constant, but I can't compile code like next
var r: single;
n: integer;
...
n:=round(r / 200 * sin(pi/2));
Is there different beetveen libs in SDK gp2x for linux and windows? I think no. I use libs from windows SDK.
May be wont I many from freepascal? but Delphi compiled this project without error and work it fine with sdl dll-s
|