I think I may have asked this before, but can't find he post or the answer.

Where can I get some instructions about using my GBA and Nintendo DS with FreePascal? Basically I'm looking for some simple instructions that would tell me how to create an SDL compatible exe using FreePascal and then how to transfer the exe and the assocaited data onto a GBA, for starters, then a DS.

This is for a commercial proof of concept. The content, for now, would be 2D games, but may be 3D in future.

Basically at the moment the client wants to port their engine from Delphi to C++, but I want to show the same engine ported to FreePascal and running on a GBA/DS before they finish the port. I' have already got the engine compiling and running with FreePascal on Win32 and Mac OS X, but I want to add a bit extra to the deal and show it to them running on GBA or DS.

Maybe I'm getting a little ahead of myself. Maybe as a first step someone could show me how to compile the exe so that it will work in the GBA or DS emulator. Yes I think that would be a good first step to prove it works.

PS. Is Endianness important on GBA/DS?

I'll stop rambling now ( but I'm still excited >8-] ).