[fpc-devel] targetandroid

Adriaan van Os fpc at microbizz.nl
Wed Jun 13 17:40:07 CEST 2018


Yuriy Sydorov wrote:
> On 6/4/2018 2:51 PM, Adriaan van Os wrote:
>> Yuriy Sydorov wrote:
>>> No special version is needed, use 3.0.4 release sources or trunk 
>>> sources.

I have fpc-3.0.4 installed on OS X 10.6.8. In a separate 3.0.4 sources folder, I issue

	make clean crossall crossinstall OS-TARGET=android CPU_TARGET=arm OPT=-Aas-darwin

and get, after the cleaning stuff, the following error

make -C /Users/adriaan/fpc-android/fpc-3.0.4/rtl 'OPT=-Aas-darwin  ' all
make -C darwin all
/bin/mkdir -p /Users/adriaan/fpc-android/fpc-3.0.4/rtl/units/x86_64-darwin
/usr/local/bin/ppcx64 -dNOMOUSE -Ur -dFPC_USE_LIBC -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix 
-Fi../bsd -Fi../bsd/x86_64 -Fi../darwin/x86_64 -FE. 
-FU/Users/adriaan/fpc-android/fpc-3.0.4/rtl/units/x86_64-darwin -Aas-darwin -dx86_64 -dRELEASE -Us 
-Sg ../bsd/system.pp
/Users/adriaan/fpc-android/fpc-3.0.4/rtl/units/x86_64-darwin/system.s:4141:suffix or operands 
invalid for `fcomip'
/Users/adriaan/fpc-android/fpc-3.0.4/rtl/units/x86_64-darwin/system.s:4148:suffix or operands 
invalid for `fcomip'
system.pp(361) Error: Error while assembling exitcode 1
system.pp(361) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted

This seems to be a 32-bit/64-bit issue. What is the required make command to prevent this ?

Regards,

Adriaan van Os




More information about the fpc-devel mailing list