[fpc-pascal] Re: android share library with classes unit

herux heruxi at gmail.com
Wed Apr 13 14:42:59 CEST 2011


My problem is resolved, I apply the patch contained in that link. reported by
Dejan Boras.
then rebuild cross compiler with this:

make clean crossinstall CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR="/usr/share/fpcsrc/binutils" OPT="-dFPC_ARMEL -O- -gl"
CROSSOPT="-dANDROID -CpARMv5 -gl -CfSOFT -O-"

now it's work. libhellojni.so loaded succesfully.

thanks

herux

-----
-
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/android-share-library-with-classes-unit-tp4297859p4300489.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list