Hi,

the file from Florian didn't work. But i looked around in the mailing lists and now i try to crosscompile a new version for the openmoko device.
I crosscompiled binutils for "arm4tl-unknown-linux".
and then i tried to cross compile the FPC (2.3.x) with this command:

make all OS_TARGET=linux CPU_TARGET=arm BINUTILSPREFIX=/opt/armlinux/crossbinutils/bin/arm4tl-unknown-linux- OPT="-dFPC_ARMEL -O-" FPC=/usr/bin/ppc386

Worked fine.
On the device the new ppcarm didn't say "Illegal Instruction" any more.
So far so good. ... But now it didn't say anything at all.
I did a "echo $?" after "./ppcarm -h" and it returns 216

---------------------------

if i try to compile the 2.2.2 sources i get an error:

i_linux.pas(594,11) Error: Identifier not found "abi_eabi"
i_linux.pas(594,11) Error: Illegal expression


any ideas?
I also tried to compile with  -dFPC_ABI_EABI

thx, and best regards
Benedikt





Paul Breneman schrieb:
Henry Vermaak wrote:
2009/3/23 Paul Breneman <paul2...@brenemanlabs.com>:
Beni,

is there another precompiled "ppcarm" from the version v2.2.x or v2.3.x ?
Or exists a maintainer for the arm version? So i could ask him for a
debugging version to find the problem.
I couldn't debug the problem by my self, because i don't have a clou about
assembler programming.

please give me a hint where to start.
because i really would like to programm in freepascal for the openmoko
freerunner device.
On 14 Dec 2008 on the fpc-devel maillist Florian Klaempfl wrote:

**************
Yes. I uploaded a starting eabi compiler to
http://www.florianklaempfl.de/ppcarm

Please use only with -O-
*************

Maybe you could try replacing the ppcarm in my helloworld example with that
(and also use -O-)?


this won't work unless you compile the rtl objects with this compiler,
too.  rather just try `ppcarm -h` to see if the compiler executes.

Thanks Henry for helping me as I stumble along in this and the other (fpc-devel) thread!
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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

Reply via email to