Been playing with the ARM / Thumb2 part - specifically for the Thumb2 line-up.
The compiler proper can be built to switch between the two with a command line switch. However, the RTL gets called as <ARCH>-<SYSTEM>, this only allows the RTL to compiled for one or the other. This may be by design - in which case there should be a big BOLD note added to the Arm port page. Or it may be unintentional - in which case it should be switched to <ARCH>-<CPU>-<SYSTEM> OR Thumb2 should get rolled out as a separate <ARCH>. Not sure I will have time to get into changing <ARCH>, but if there is a [somewhat] easy fix to add <CPU> to the RTL path for architectures that support it, I may have time to dig into that. John
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel