The gp2x runs binaries generated by a vanilla FPC 2.2.0 for ARM-linux. You need to write a small shell script, for example my_gp2x_program.gpe:

#!/bin/sh
./my_pascal_program
exec /usr/gp2xmenu/gp2xmeny

Just copy the exe and script to your gp2x and it runs.