I’ve downloaded FPC 3.0.0 and updated the sources from SVN then downloaded the 
Android NDK (Mac OS X 64-bit was the only option for Mac). The script seems to 
work but I’m getting this error after compiling for some time.

Any ideas what’s going on?

======

cd /Developer/ObjectivePascal/fpc
INSTALL_PATH=/Developer/Android
PATH=$PATH:$INSTALL_PATH/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin

make clean all crossinstall OS_TARGET=android CPU_TARGET=arm 
CROSSOPT="-Cfvfpv3" INSTALL_PREFIX=$INSTALL_PATH

=====

/Developer/Android/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld.bfd:
 cannot find -lc
pp.pas(219,36) Error: Error while linking
pp.pas(219,36) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [ppcarm] Error 1
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.arm-android] Error 2


Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to