LAMW is ready for 64 bits? lazarus / 43-Android ---------------------------------------------------------------------- ADiV · 2019-02-01 18:25 Hi guys, Is this LAMW ready for 64 bits? Google as of August 1, 2019 will require a 64-bit version and in 2021 the apps that do not have a 64-bit version will disappear. https://android-developers.googleblog.com/2019/01/get-your-apps-ready- for-64-bit.html https://developer.android.com/distribute/best-practices/develop/64-bit ---------------------------------------------------------------------- jmpessoa · 2019-02-01 20:36 Yes! What we need are just "FPC for aarch64+Android"..... and some minor settings... ---------------------------------------------------------------------- yuriy_sydorov · 2019-02-03 12:22 FPC already supports aarch64-android and x86_64-android in the trunk and the 3.2 branch. I encourage everybody to actively test the 64-bit android targets. ---------------------------------------------------------------------- jmpessoa · 2019-03-09 02:35 Hi, Yuriy sydorov! I have Lazarus 2.0 [64-bit] - Windows. Can the inner "....\fpc\3.04" be used as bootstrap [+ trunk  source] to produce the cross  aarch64-android?  What about "-Cp" [ArmV8 or ArmV8A or not applicable] ? What about "-Cf" [VFPv4 or VFPv3 or not applicable] ? all my attempts have failed after having produced and installed/integrated "ppcrossa64"! I get the errors: 1) when opening a LAMW  "aarch64" project Quote"C:\lazarus2064\fpc\3.0.4\bin\x86_64-win64\fpc.exe" does not support target aarch64-android 2) when [trying] building the "aarch64" LAMW project  ["Run" --> "Build"] to produce a ".so" library QuoteError: Illegal processor type "aarch64" Thank you! ---------------------------------------------------------------------- Thaddy · 2019-03-09 08:49 You can bootstrap (should! bootstrap) with 3.0.4. indeed, but the AARCH support for Android requires the sources from at least the 3.2.0 RC branch or trunk. ---------------------------------------------------------------------- Cyrax · 2019-03-09 10:54 You need to build native compiler and then build the cross compiler by using the native one. ---------------------------------------------------------------------- yuriy_sydorov · 2019-03-11 13:48 Quote from: jmpessoa on March 09, 2019, 03:35:15 amI have Lazarus 2.0 [64-bit] - Windows. Can the inner "....\fpc\3.04" be used as bootstrap [+ trunk  source] to produce the cross  aarch64-android?  Yes, to build a cross compiler from the trunk or 3.2 branch you can use fpc 3.0.4 as a starting compiler. Quote from: jmpessoa on March 09, 2019, 03:35:15 amWhat about "-Cp" [ArmV8 or ArmV8A or not applicable] ? What about "-Cf" [VFPv4 or VFPv3 or not applicable] ? No need to specify any additional options. Quote from: jmpessoa on March 09, 2019, 03:35:15 amall my attempts have failed after having produced and installed/integrated "ppcrossa64"! I get the errors: 1) when opening a LAMW  "aarch64" project Quote"C:\lazarus2064\fpc\3.0.4\bin\x86_64-win64\fpc.exe" does not support target aarch64-android 2) when [trying] building the "aarch64" LAMW project  ["Run" --> "Build"] to produce a ".so" library QuoteError: Illegal processor type "aarch64" Thank you! You need to use "fpc.exe" compiled from the trunk or 3.2 branch sources or invoke a cross-compiler binary directly.  fpc.exe 3.0.4 does not know than the android target supports 64-bit CPUs. Simply replace an existing fpc.exe by the new one. ---------------------------------------------------------------------- jmpessoa · 2019-03-12 04:59 QuoteYou need to use "fpc.exe" compiled from the trunk or 3.2 branch sources or invoke a cross-compiler binary directly.  fpc.exe 3.0.4 does not know than the android target supports 64-bit CPUs. Simply replace an existing fpc.exe by the new one. Thank you!!!! PS.  LAMW 0.8.4: Added  "aarch64" support ! ref. https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases build test: FPC Trunk + Laz Trunk + LAMW + cross "aarch64-android" [Thanks to DonAlfredo!]