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

2011-04-12 Thread herux
I use this binutils http://www.gnu.org/software/binutils/ using this command to build crosscompiler make clean crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/usr/share/fpcsrc/binutils/ OPT="-dFPC_ARMEL -O- -gl" CROSSOPT="-dANDROID -CpARMv6 -gl -CfSOFT -O-" I may have to repeat it thank

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

2011-04-13 Thread herux
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-"

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

2011-04-13 Thread Felipe Monteiro de Carvalho
Have you done "Step 2" described here: http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre-compiled_compiler ? I know that those instructions are different from what you are doing, but Step 2 should apply anyway. -- Felipe Monteiro de Carvalho ___

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

2011-04-13 Thread darekm
> I use this binutils http://www.gnu.org/software/binutils/ > using this command to build crosscompiler > > make clean crossinstall CPU_TARGET=arm OS_TARGET=linux > CROSSBINDIR=/usr/share/fpcsrc/binutils/ OPT="-dFPC_ARMEL -O- -gl" > CROSSOPT="-dANDROID -CpARMv6 -gl -CfSOFT -O-" CROSSOPT="-dANDROID

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

2011-04-14 Thread Felipe Monteiro de Carvalho
Forwarding to the mailling list: On Thu, Apr 14, 2011 at 4:09 AM, heru susanto wrote: > I've done the second step > here : > #!/bin/sh > /usr/local/bin/arm-linux-as_org -march=armv6 -meabi=5 -mfloat-abi=softfp > -mfpu=vfp3 $@ > my problem have been solved. my next problem is dynamic linking. > th