[fpc-pascal] ARM crosscompiler again
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Jul 21 11:49:05 CEST 2009
On 21 Jul 2009, at 11:37, greim wrote:
> The compiler seems to run, and making the s-file, but assembling the
> s-file failed, with more then 20 error messages. like
>
> makuslinux3:/home/markus/arm # ppcrossarm -B -Aas hallo.pas
> Free Pascal Compiler version 2.3.1 [2009/07/21] for arm
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for ARM
> Compiling hallo.pas
> Assembling hallo
> hallo.s: Assembler messages:
> hallo.s:11: Warning: .type pseudo-op used outside of .def/.endef
> ignored.
> hallo.s:11: Error: junk at end of line, first unrecognized character
> is `P'
> hallo.s:14: Warning: .type pseudo-op used outside of .def/.endef
> ignored.
> hallo.s:14: Error: junk at end of line, first unrecognized character
> is `m'
> hallo.s:16: Error: too many memory references for `mov'
> hallo.s:17: Error: no such instruction: `stmfd r13!,
> {r4,r11,r12,r14,r15}'
[snip]
> etc.
>
> any further idea..???
The compiler is calling your i386/x86_64 assembler instead of the ARM
one. I guess /opt/cross/arm-linux/bin/ is not in your path.
Jonas
More information about the fpc-pascal
mailing list