unfortunately i do not know how to add an port to free pascal. Trying to understand what is going on with linking gives me an headache. To spoiled with delphi i gues. It obviously is not as easy as linking in crt0.o.

If only the first part is done e.g. that the crt0 part is linked in correctly and starts the 'main' procedure. I can continue with my efforts, but without that i cannot continue. My developement pace is slow, i am trying to spend 1 hour evenings on it.

I have already downloaded a snapshot of free pascal, but i have no clue where to begin changing. e.g. the fakertl looks a place to start with rtl developement. But where should it go to?

So what is need to go on is:
A barebones freepascal compiler that proprly links in crt0.s. for the gba target. Or step by step instruction how to so from the cpp version.

Once again the link to how it is done for gnu cpp: http://linux.gbadev.org/gcc-gba/