Hi Ludo.
I try to use you androidprt0.so but I keep getting the same error.
I do not have much experience in the lower parts of how the
linking/assembling is done,
so I hope you can help me out here.
I get the following error:
$ ppcrossarm -b -B -XX -Xc -XD -Tlinux -darm -k-landroidprt0
/usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In function
`_haltproc':
androidprt0.as:(.text+0x0): multiple definition of `_haltproc'
./libandroidprt0.so:androidprt0.as:(.text+0x0): first defined here
/usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In function
`_haltproc_eabi':
A
On 2011-11-25 13:38, Ludo Brands wrote:
/usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In function
`_haltproc':
androidprt0.as:(.text+0x0): multiple definition of `_haltproc'
./libandroidprt0.so:androidprt0.as:(.text+0x0): first defined here
/usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o:
FPC 2.6 and 2.7 are broken for Android. You can manually patch fpc to
work around the issues.
See: http://bugs.freepascal.org/view.php?id=20726
and: http://bugs.freepascal.org/view.php?id=18833
If you don't want to wait until the bugs are fixed, AFAIK the best is
using the compiler which is