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

Nikolai Zhubr n-a-zhubr at yandex.ru
Sun Dec 16 15:59:41 CET 2018


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".

I've noticed though that the binary has now a different set of flags, 
namely "[has entry point]" as compared to the ones produced by newer 
binutils, I guess that could be important:

objdump -p t
t:     file format elf32-littlearm
private flags = 602: [APCS-32] [VFP float format] [software FP] [has 
entry point]

Apparently I'm now going to arrange some normal development environment 
on the target board directly to get further...


Thank you!

Regards,
Nikolai

> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list