[fpc-devel] targetandroid - x86 as target cpu
tom_at_work at gmx.at
Thu Aug 9 16:57:01 CEST 2012
On Thu, 2012-08-09 at 16:41 +0200, Dennis Spreen wrote:
> thanks, but still does not compile / link:
> [0.201] (9017) Using util
> [0.228] fppkg.pp(396,1) Error: Error while linking
> [0.228] fppkg.pp(396,1) Fatal: There were 1 errors compiling module,
> [0.233] Fatal: Compilation aborted
> which ndk version do you use?
r8, but that's likely not the problem.
Can you retry the failing command? Can you give exact steps to
E.g. change into that last directory make reports (most likely fppkg, at
least it has always been that one at my place) and retry the failing
command as reported by fpmake.
Here, it looks like the following:
-Tandroid -Parm -XParm-linux-androideabi- -Xr -Ur -Xs -O2 -n
"-Fl<path_to_source_install>/ndklib" -darm -dRELEASE -viq fppkg.pp
and show me the results.
Otherwise, provide me with exact steps to reproduce, and the compilation
logs (e.g. compressed here, or best via pastebin).
I cannot diagnose without a more exact failure message. Just "it does
not work" is too little.
Also please give the command line you use to build again.
The one I use is:
make clean crosszipinstall PP=i386-linux-ppc386
This results in a fpc-2.7.1.i386-android.tar.gz.
Note that I have all tools, e.g. i386-linux-ppc386 executable and the
binutils in the path. Further I copied the ndk libs into the local
"ndklib" directory. (Just to save typing).
(You may want to add CROSSOPT=-Cfsse3 if you actually want to use the
output then though, but these should be fine for testing compilation)
More information about the fpc-devel