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
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-"
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
___
> 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
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