2009/4/6 ik <ido...@gmail.com>:
> Hello,
>
> 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
>
> I compile it as follows:
> /usr/lib/fpc/2.3.1/ppcarm -O- hello.pp
>
> Should I define another flag as well ?

have you built the compiler and rtl with -dFPC_ARMEL?

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

Reply via email to