Quote Originally Posted by noeska
i try to spend an hour evening per day on it. Also i keep an eye on: http://linux.gbadev.org/gcc-gba/ as mentioned before. It seems i have to convert the generated .elf file to something binary. Just have to find the tool in my linux as the tool is supposed to be part of the binutils....

The hardest part wil be replacing the crt.o of linux arm with the gba one.
gcc-gba needs to link together (with ld) object file (for example yourfile.o) and crt0.o. Maybe your gba emulator can't find start function point because crt0.o is not linked. I don't know if your crt0.o file is good for pascal source... :?:
I must decide to install linux to do some test with fpc and gba :mrgreen: