This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

running multiple glibc's


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]