patchelf icon indicating copy to clipboard operation
patchelf copied to clipboard

Need help for cross-compliling libc.so.6

Open JankleDev opened this issue 1 year ago • 1 comments

Can we use this to compile libc.so.6 from x86_64-linux-gnu to x86_64-linux-android?

JankleDev avatar Feb 14 '24 14:02 JankleDev

This tool is for patching ELF binaries. It can maybe help make something built for one GNU-linux operating distribution to work on another, but android is a very different platform from GNU-linux. It's a lot closer to, say, Alpine (which doesn't use glibc by default, but at least can use it), but even then it's quite different. For example, a lot of common linux syscalls (like fork, for example) are not supported on android.

adam-azarchs avatar Jun 30 '24 07:06 adam-azarchs