Recent

Author Topic: Support for 16 kb page sizes  (Read 626 times)

Joris

  • Newbie
  • Posts: 3
Support for 16 kb page sizes
« on: February 23, 2025, 09:02:23 pm »
Hello,

I have an Android app using a Pascal JNI module. I don't use LAMW.

Currently I use FPC 3.2.2, and this works fine. But Google has announced that in the future devices might be released which use 16 KB page sizes instead of 4 KB. When I run my app on the emulator provided by Google for this, it does not work.

I have tried using the latest trunk FPC with fpcupdeluxe, with the latest NDK, but I did not succeed in building yet. I might be able to solve the build errors, but it might take a lot of effort. I plan on using the pageSizeCompat option to enable backwards compatibility for now.

Has anyone succeeded in using FPC with 16 KB page sizes? If so, do I need to do something special for this, or does it just work?

See also:
https://developer.android.com/guide/practices/page-sizes
https://source.android.com/docs/core/architecture/16kb-page-size/16kb-backcompat-option

Greetings,
Joris Wit

 

TinyPortal © 2005-2018