logoalt Hacker News

mort96yesterday at 9:14 PM3 repliesview on HN

A fully statically compiled Linux ARM64 binary which only interacts with the kernel through syscalls should run no problem on ARM64 Android. From the kernel's perspective, there is no difference between a "Linux binary" and an "Android binary" because the kernel in Android is Linux.

Most programs want to interact with various system libraries and system services though. Android and your typical desktop Linux system share pretty much nothing aside from the kernel.


Replies

pjmlptoday at 10:51 AM

Only if they restrict themselves to the officially supported syscalls, otherwise Android will kill the application.

westurneryesterday at 9:20 PM

Why is it easier to run a Linux ARM64 binary on Android than to run an Android ARM64 binary on Linux?

My guess is that the reason is the same reason that there aren't official updated Android containers

show 1 reply