Chris Moody wrote on Tue, 18 Aug 2015:

So I tried to compile a special version of FPC for arm, I installed: binutils-2.25

And I got as far as this:

/home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as -o /home/chris/Documents/fp/fpcbuild-2.6.4/fpcsrc/rtl/units/arm-linux/prt0.o arm/prt0.as
arm/prt0.as: Assembler messages:
arm/prt0.as:46: Error: unrecognized symbol type ""
arm/prt0.as:49: Error: expecting operand after ','; got nothing
arm/prt0.as:50: Error: no such instruction: `ldmia sp!,{a2}'
[snip]

These errors suggest that /home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as is not an assembler for ARM. If you execute
 /home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as --version

the last line should tell you what target it was built for.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to