[fpc-pascal] EABI problems with FPC
Benedikt Schindler
BeniSchindler at gmx.de
Mon Apr 6 18:19:31 CEST 2009
Hi,
i also try to get free pascal running on my freerunner.
i needed many tries to get a running ppcarm for my device.
(In reality i didn't know why it worked in the last run ... but it did,
and so i don't ask :) )
now i let the freerunner recompile the hole fpcbuild.
But that could take some time. ... you know how fast our devices are :)
i hope that all things will work well after that .
i used these compiler options : OPT="-dFPC_ARMEL -O- -dFPC_ABI_EABI"
NOGDB=1
i tell you if it works or not.
it could just be hours from now :)
Have you cross compiled the hole free pascal or just the ppcarm?
you should be able to crosscompile the "hello" programm by using the
"crossppcarm" compiler on your normal machine.
(And don't forget to use "-dFPC_ARMEL -O- -dFPC_ABI_EABI".)
Beni
ik schrieb:
>
> On Mon, Apr 6, 2009 at 4:26 PM, Jonas Maebe <jonas.maebe at elis.ugent.be
> <mailto:jonas.maebe at elis.ugent.be>> wrote:
>
>
> On 06 Apr 2009, at 15:15, ik wrote:
>
> I tried to create an Hello World program in OpenMoko (after
> creating arm
> fpc). When I try to compile it, ld gives the following error
> message:
>
> /usr/bin/ld: ERROR: Source object
> /usr/lib/fpc/2.3.1/units/arm-linux/rtl/system.o has EABI
> version 0, but
> target hello has EABI version 4
>
>
> See http://bugs.freepascal.org/view.php?id=13454 for some flags
> you have to use, and a patch that you can try. And note that
> ARMEL/EABI is very much untested.
>
>
> I can see that, now I have segfult ... Is there a way to do a real
> cross compile, that is to be in a normal environment and just make the
> result set to ARM EABI ?
>
> And any of you wish, I can give ssh access to my Moko (when it is
> booted to the microsd) to test FPC on ARM EABI better, or help me
> understand how to test it myself, and might even fix/add things.
>
>
>
>
>
>
> Jonas
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> <mailto:fpc-pascal at lists.freepascal.org>
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
> Thanks,
> Ido
> ------------------------------------------------------------------------
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list