I have the FPC4GP2x Delphi example "gp2x_tutorial" compiled and working on both Win and GP2x. But the filesize in 1MB(!)

I'd like to just use Pascal, no SDL or units above the bare bones. Also, I'd like to use inline assembler. I can already write some small routines with inline asm.

I have two questions,

1. I've figured out a bit of the assembler syntax, like .long, .align, etc from compiling Delphi programs and looking at the ppcrossarm source. I'm also fine with the instructions syntax. But where can I find official and complete docs of all the directives/symbols arm-linux-as.exe uses?

2. If i compile a .pp to an .o file, how do I make a .gpe? (gp2x executable binary file.) As soon as I use the linker, filesize skyrockets.