[fpc-devel] Error building branch targetandroid

Pierre Free Pascal pierre at freepascal.org
Thu Sep 13 17:48:32 CEST 2012



> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de Felipe Monteiro de Carvalho
> Envoyé : jeudi 13 septembre 2012 16:35
> À : FPC developers' list
> Objet : Re: [fpc-devel] Error building branch targetandroid
> 
> Ok, so that error was fixed, but now it just fails elsewhere further down =(
> 
> In Windows I try to build targetandroid with this batch script:
> 
> SET PATH=;C:\Programas\lazarus31_fpc260\fpc\2.6.0\bin\i386-
> win32;C:\Programas\android-ndk-r8\toolchains\arm-linux-androideabi-
> 4.4.3\prebuilt\windows\bin
> make crossinstall CPU_TARGET=arm OS_TARGET=android OPT="-dFPC_ARMEL"
> CROSSOPT="-CpARMv6 -CfSoft"
> CROSSBINDIR=C:\Programas\android-ndk-r8\toolchains\arm-linux-androideabi-
> 4.4.3\prebuilt\windows\bin\
> BINUTILSPREFIX=arm-linux-androideabi- INSTALL_PREFIX=output
> pause

Try using forward slashes instead
CROSSBINDIRT=C:/Programas/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/

I suspect that some shell sees ...bin\ -o as only one parameter
because it believes there is an escaped space '\ '
that make ' -o' still part of the previous parameter for fpmake.

Pierre Muller




More information about the fpc-devel mailing list