![]() ![]() ![]() How shall FPC know that it has to choose the arm/android crossbuild if I select linux as target os?Ģ.Ěm I supposed to also build the arm/linux-crossbuild? If I do so, then FPC compiles fine but when linking it fails with “c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: ERROR: Source object C:\Android\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib\/libjnigraphics.so has EABI version 5, but target Laz_Android_4 has EABI version 0” and later “c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: final link failed: Nonrepresentable section on output”Ģ.1.Ěm I supposed to rename arm-linux-androideabi-as/-ld/-strip.exe to arm-linux-as/ld/strip.exe? If I do so then the android-ndk-files link fine, but then I get “c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: error: Source object C:\codetyphon\fpc\units\arm-linux\rtl\system.o has EABI version 0, but target Laz_Android_4 has EABI version 5”Ģ.2.ĝo I have to rebuild the rtl files of the arm-linux-crossbuild to be EABI version 5? How?ģ.Ěm I supposed to select android as target OS instead? If I do so, then FPC complains “Laz_Android_3.lpr(13) Error: Assembler arm-android-as.exe not found, switching to external assembling”, which is true, there is no arm-android-as.exe.ģ.1.Ěm I supposed to rename arm-linux-androideabi-*.exe to arm-android-*.exe? If I do so then compiling starts but I get “.\.\.\fpcsrc\packages\fcl-db\src\base\bufdataset_parser.pp(13,3) Fatal: Can't find unit dbf_prscore used by bufdataset_parser”. IMHO this is because system.ppu/.o is only in the directories “C:\codetyphon\fpc\units\arm-android\rtl” and “C:\codetyphon\fpc\units\i386-win32\rtl” but when I select Linux as target then FPC obviously expects an arm-linux directory.ġ. “fcllaz.pas(0,0) Fatal: Can not find unit system used by fcllaz of package FCL.” If I do so and try to compile, then I get Either I am mistaking something completely or the guidline in cannot work: It is suggested to install cross element arm-ANDROID but to select arm/LINUX as target in the compiler settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |