How to update glibc version safefuly?

First of all,I don`t have root permission, and I build the new version glibc and gcc to my home path ~/glibc-new and ~/gcc-new .

After that , I want to build the new nversion binutil to ~/new-world by using new glibc and gcc ,so I change my ~/.base_prefix to export PATH=~/gcc-new/bin:$PATH for using new gcc,it works.

Now how can I build the binutil or something else by new glibc?

To change the new gcc specs file to point to ~/glibc-new/ld-linux.so.2? It didn`t work,the newly binary is still using old version glibc

Or I get the wrong way?


Source: gcc

Leave a Reply