To use the loader in the alternate glibc installation at /usr/test
, I have change the loader path /lib/ld-linux-x86-64.so.2
to /usr/test/lib/ld-linux-x86-64.so.2
under the *link
section in the gcc specs file. I have also pointed CPATH
to /usr/test/lib/include
and LIBRARY_PATH
to /usr/test/lib
.
Is it the correct way to use the alternate glibc?