This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
running multiple glibc's
- From: Alex Liberman <alex at zoosmart dot us>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 15 Jul 2004 17:16:50 -0700
- Subject: running multiple glibc's
- References: <1089936498.29565.ezmlm@sources.redhat.com>
Hello,
I can run multiple glibc's just fine like this,
[ ~]:gcc hi.c
[ ~]:ldd ./a.out
libc.so.6 => /lib/libc.so.6 (0x40013000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[ ~]:gcc -specs=specs.myglibc hi.c
[ ~]:ldd ./a.out
libc.so.6 => /my/glibc232/lib/libc.so.6 (0x40016000)
/my/glibc232/lib/ld-linux.so.2 => /my/glibc232/lib/ld-linux.so.2 (0x40000000)
but how do I edit executables that are already compiled, to look in
/my/glibc232 instead of the default /lib/ld-linux.so.2?
Thx!