Thanks a lot for helping me Although liking Pascal doesn't help if you'd like to make some small app and end up with big file sizes. Doc read and appreciated - I've no idea why the RTL is so small on MS-DOS/TP.

With help from oliebol in #fpc (many thanks!), it soon became clear that starting out from the SDL framework from the FPC4GP2X page was, not optimal if you need (not necessarily want, having come from IDEs ) to learn the arm-linux-*.exe tools and their options

Simply (if you know ppcrossarm can 'do it all') using ppcrossarm -dgp2x -CX -XXs -XParm-linux- myfile.dpr (or .pp) gave more acceptable results, 88K for dpr and 27K for pp.


Which leaves the final option, coding entirely in assembler. Wouldn't mind it, if I knew/had control over the final .gpe, i.e. that only the necessary bits surround the asm code, but that it's still a valid executable.