[fpc-devel] ARM vs Thumb2 - can't have both

John Clymer john at johnclymer.net
Sun Aug 21 23:58:50 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110821/ce7f2ec8/attachment.html>


More information about the fpc-devel mailing list