Some programs use hard-wired paths to programs which do not exist yet. In order to satisfy these programs, create a number of symbolic links which will be replaced by real files throughout the course of the next chapter after the software has been installed.
ln -sv /tools/bin/{bash,cat,echo,grep,pwd,stty} /bin ln -sv /tools/bin/file /usr/bin ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib ln -sv /tools/lib/libstd* /usr/lib ln -sv bash /bin/sh
To enable some c++ tests in the Glibc and Binutils testsuites to link, create a directory and make some symbolic links:
mkdir -pv /usr/lib64 ln -sv /tools/lib/libstd*so* /usr/lib64