Hi, On Wed, 2012-08-15 at 08:37 +0300, Gennadiy Poryev wrote: > Hi all, > > There’s been a lot of arm-related discussions lately, so I guess this > one wouldn’t be hard to solve. > > The bugreport is here http://bugs.freepascal.org/view.php?id=22632 ; > in short, building trunk cross RTL from win32 to arm-wince fails on > compiling system.pp with “Error: cannot represent > BFD_RELOC_ARM_PCREL_BLX relocation in this object file format”. > > I am absolutely unfamiliar with the arm asm and different arm modes to > play with, hence this cry for help. Thanks in advance.
As you noticed the issue has been fixed, thanks for your cooperation. The issue has been the use of an assembler instruction that is not supported on Windows CE. Windows CE only supports the armv4 instruction set, and currently the default for code generation seems to be armv4 or less, so this works at the moment. I'm not saying that this default choice will change in the future, just to avoid unnecessary complications if it does. So when compiling the crosscompiler/RTL for Windows CE, consider specifying -Cparmv4 in CROSSOPT to avoid issues with unsuitable code generation. Hth, Thomas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
