If I understood FPK ok, there is one main problem compiler side:Originally Posted by Legolas
- FPC supports ARM, but only normal 32-bit ARM assembler. ARM also has a shortened 16-bit THUMB chipset. (not every ARM chip has this, it is an added option). FPC doesn't support THUMB instruction generation yet.
Besides that, the typical other tasks that must be done for a new port:
- somehow create startup code (the already mentioned crt0.[o|as])
- Create something that can interface with the OS.
- Interface to other compiler's libraries (typical GCC) to get access to code.
- Do stuff that is special for that port. (e.g. for Windows: DLL support)
Bookmarks