Recent

Author Topic: How to set the pagesize of an application when developing Linux applications  (Read 597 times)

myisjwj

  • Jr. Member
  • **
  • Posts: 91
The pagesize of the system is 4K or 64K. How can I set the compiled application to have a pagesize of 4K or 64K. The Lazarus I am using now is 2.3.0, fpc is 3.3.1, and after compilation, it is all 64k Pagesize. Using 'readelf - l project1', you can see that

Load 0x00000000000

0x0000006f8448 0x0000006f8448 R E 0x10000

I now want to compile it into a Pagesize of 4K. How to set it up. thanks

 

TinyPortal © 2005-2018