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

2011-08-23 Thread John Clymer
The only major issue is if you want to build for Thumb2 - you have to manually edit makefiles - because the full ARM cores support and startup files will choke the build process. i.e. Building for Thumb2 with the freshly checked out subversion, when the compiler gets to compiling rtl/embedded/

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

2011-08-23 Thread Jeppe Græsdal Johansen
Is it really that big a deal? I think the negatives outweigh the positives in the changes implied here. Say what you want about the priciples about the instruction sets(ARM and Thumb2), but they still share 95% of the backend code. When you're dealing with lowlevel targets like embedded arm y

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

2011-08-23 Thread John Clymer
Digging some more around it today, came up with the following idea... In the rtl/embedded folder - there is the "system" file for "ARM" - it is ALL pascal - and compiles to either of Thumb2 or ARMV4 - but not both. In that folder's Makefile.fpc, the units to be built are listed - the could be s

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-23 Thread LacaK
Florian Klämpfl wrote / napísal(a): Am 16.08.2011 07:06, schrieb LacaK: Hans-Peter Diettrich wrote / napísal(a): LacaK schrieb: Or do you not like these "wide" versions at all ? It's not a matter of liking, I'm afraid. If Delphi has them, we'll have to add them

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

2011-08-23 Thread Michael Schnell
On 08/23/2011 08:39 AM, David Welch wrote: I figure most folks would not want to sink to the lowest common denominator. I feel that M3 and friends might be worth investing in thumb support for "embedded" devices. But I understand that the more relevant targets for ARM-FPC seem to be Smartph