[fpc-devel] Building cross-compiler for arm-linux on win32

Jonas Maebe jonas at freepascal.org
Sun Dec 16 16:13:03 CET 2018


On 16/12/18 15:59, Nikolai Zhubr wrote:
> 16.12.2018 17:03, Florian Klämpfl:
> [...]
>> https://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32/
>> ? They work for me with the command line you mentioned. However, we 
>> have to support newer ones, I'll look into this.
> 
> With binutils from svn, the cross-build itself succeeded for me out of 
> the box, although still producing "Arm BLX instruction ..." warnings.
> 
> But, the generated binary still does not work on the target device, 
> generating "Illegal instruction".

Which instructions does it show if you run the program in gdb and do 
"x/2i $pc-4" when it crashes?


Jonas



More information about the fpc-devel mailing list