• Avid Amoeba@lemmy.ca
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    26 days ago

    Apps typically don’t interact with the kernel. They interact with a C library like glibc, bionic or musl. So long as the kernel has a POSIX interface you should be able to compile the same app on different kernels. We do this with apps that run on Linux, BSD and QNX for example.

    As for Android apps, you could extend that to running the Android runtime on top of different kernels. We did that with the Android runtime on QNX for BlackBerry 10 and we did it in a way that didn’t even require recompilation. That said Wiki says they don’t support Android apps. So if you meant Android apps they simply don’t.