IFDEF-conditional Android patch for the arm//linux RTL
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
-
Reporter name: Benjamin Rosseaux
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
- Reporter name: Benjamin Rosseaux
Description:
Here are my next android-oriented RTL patches for FPC, these will be only active, if the arm/linux RTL will be rebuilded with -dandroid as crosscompiling opts, for to be still compatible with normal non-android arm linux targets
At least the cthreads, errno and timezone patch parts are the most important things of it, otherwise the result binary cann't run often under a stock android environment, because of some missing or renamed system lib functions under android.
The patch is applied against SVN revision r21024.
Additional information:
As a small hint: The one last SwapEndian ARM patch doesn't work with the android toolchain, so I've included a small change for it in this patch, so simply so keep this part, if you don't adopt this SwapEndian part.
Mantis conversion info:
- Mantis ID: 21853
- Platform: ARM Linux / Android
- Version: 2.7.1
- Fixed in version: 3.0.0
- Monitored by: » @de_jean_paca (Dejan Boras)
- Target version: 2.7.1