-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo Henry,
Show quoted text 24 lines
> i just tried to compile a cross compiler
> linux 386 to linux arm
> (Suse 11.1 to a SSV DIL Net PC / 9200 Atmel AT91RM9200)
>
> I downloades the latest :
> .....
> Download Daily Source Snapshot of the Fixes Tree
> Entire fpc sources archive of the fixes branch: fpc.zip (24 MB)
> from the website
> ......
>
> Also... and there i am not sure:
> Package Binary
> GNU Binutils arm-binutils-2.16-1.i386.rpm
> and install it.
>
> Then i started the compiler (as root ???) with :
> make clean all CPU_TARGET=arm OS_TARGET=linux
> BINUTILSPREFIX=/usr/arm/bin/arm-unknown-linux-gnu
>
> The compiler (2.2.4) was running some minutes.
> But no ppcarm there afterwards.
> Any hint???
so thanks i am some steps further
i now installed the arm binutils from the Suse distribution ist version 2.19 instead of 2.16 and installed in
/opt/cross/arm-linux/bin/
by Yast
So i now mad a call:
make all CPU_TARGET=arm OS_TARGET=linux
BINUTILSPREFIX=/opt/cross/arm-linux/bin/
an voila it compiles... and ppcrossarm was in ./compiler fantastic.
Then i did a
make install CPU_TARGET=arm OS_TARGET=linux
BINUTILSPREFIX=/opt/cross/arm-linux/bin/
and now there are some files in
/usr/bin
looks fine!
But now i did a
ppcrossarm -B hallo.pas
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}' hallo.s:18: Error: too many memory references for `sub' hallo.s:19: Error: too many memory references for `sub' hallo.s:20: Error: no such instruction: `bl FPC_INITIALIZEUNITS' hallo.s:21: Error: no such instruction: `bl fpc_get_output' hallo.s:22: Error: too many memory references for `mov' hallo.s:23: Error: too many memory references for `mov' hallo.s:24: Error: no such instruction: `ldr r2,.Lj9' hallo.s:25: Error: expecting operand after ','; got nothing hallo.s:26: Error: no such instruction: `bl fpc_write_text_shortstr' hallo.s:27: Error: no such instruction: `bl FPC_IOCHECK' hallo.s:28: Error: too many memory references for `mov' hallo.s:29: Error: no such instruction: `bl fpc_writeln_end' hallo.s:30: Error: no such instruction: `bl FPC_IOCHECK' hallo.s:31: Error: no such ins.................................... etc.
any further idea..???
Thanks!
Markus Greim
Show quoted text 5 lines
If you haven't done a "make install", then the compiler should be in
./compiler/.
Henry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkpljGYACgkQWVkhSqgWKAJJkgCgrSrZF2UPXAfWzxvUhq/isJaL 3vUAoLn57wjZRAE5EUh8fPsDfCmDZbnc
=bJeb
-----END PGP SIGNATURE-----