Quote Originally Posted by Legolas
I can't find -P command line in the documentation online. What about it?
It is badly documented indeed :-(

It is a parameter to pass to fpc, so that it selects the correct ppcXXX for the target. For example to compile for arm-wince, I could do:
Code:
fpc -Parm -Twince
.

[quote]However, the only reason for apptype was that arm9 and arm7 binaries for nds need two different prt0 and ]
I don't know what is hetter, using {$apptype} just felt wrong, no 'hard evidence'.