[fpc-devel] FPC and Windows Phone 8
Yury Sidorov
jura at cp-lab.com
Tue Mar 25 12:02:46 CET 2014
On 24.03.2014 21:36, Vsevolod Alekseyev wrote:
> Thanks. But the Android build is acting funny now, and I'm not sure why.
>
> make clean all OS_TARGET=android CROSSOPT="-CpARMv7A -CfVFPV3_D16
> -CIthumb" CPU_TARGET=arm INSTALL_PREFIX=C:\FPC\2.7.1
>
> ...
> D:\android-ndk-r9d\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\
>
> bin\arm-linux-androideabi-ld.bfd.exe: cannot find crtbegin_dynamic.o
> D:\android-ndk-r9d\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\
>
> bin\arm-linux-androideabi-ld.bfd.exe: cannot find -lc
> pp.pas(238,36) Error: Error while linking
> pp.pas(238,36) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
Use "make clean crossall ..."
In such case the native fpc binaries will not be built. Only cross
compiler and cross units will be built.
See: http://wiki.freepascal.org/Android
Yury Sidorov,
jura at cp-lab.com
More information about the fpc-devel
mailing list