Felipe Monteiro de Carvalho wrote on Fri, 14 Sep 2012:

make crossinstall CPU_TARGET=arm OS_TARGET=android
OPT="-FlC:/Programas/android-ndk-r7b/platforms/android-8/arch-arm/usr/lib/"
CROSSOPT="-CpARMv6 -CfSoft" BINUTILSPREFIX=arm-linux-androideabi-
INSTALL_PREFIX=output
pause
Note that due to some kind of hellish issue I indeed needed to write
C:/ instead of C:\ (arggg!!!)

The "some kind of hellish" issue is that \ means "escape the next character". So simply never put a backslash at the end of an option passed to make, because then it escapes quotes or spaces. This should work fine:
  -FlC:\Programas\android-ndk-r7b\platforms\android-8\arch-arm\usr\lib

But even after doing that, the result seams to be the same. I get the
same linking error, and ppas.bat did not change:

That's because you added it to OPT instead of to CROSSOPT. The fppkg program is compiled for android/arm, and hence the CROSSOPT options are used.


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to