glibc 2.16.0
Bernhard Walle
bernhard@bwalle.de
Mon Dec 17 20:10:00 GMT 2012
Hi,
* ç½ãç <ShiroiKuma@ShiroiKuma.org> [2012-12-17 20:25]:
>
> But how can this be?
The binaries have /lib/ld-linux.so.2 as interpreter (run "readelf -l"
and see the INTERP header) set. So if the kernel executes the binary,
they're executed with /lib/ld-linux.so.2 and that's from android libc
(which is not glibc).
You can change the interpreter when compiling with
gcc ... -Wl,-dynamic-linker,/my/lib/ld-linux.so.2 ...
or patch it afterwards with patchelf from http://nixos.org/patchelf.html.
I think that would be the (first?) step to use your own libc, but I'm
far away from being an expert in that area...
Regards,
Bernhard
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list