%general-entities; ]> Binutils-&binutils-version; Binutils Installation of Binutils Libiberty uses gcc -print-multi-os-directory to determine where to install libiberty.a. Because our temporary GCC is still multilib-aware, the command returns ../lib64 which causes the archive to be installed into /usr/lib64. The following sed will prevent this: sed -i 's%\(^MULTIOSDIR = \).*%\1 ../lib%' libiberty/Makefile.in CC="gcc -isystem /usr/include" \ LDFLAGS="-Wl,-rpath-link,/lib" \ ../binutils-&binutils-version;/configure --prefix=/usr \ --libdir=/usr/lib --enable-shared \ --disable-multilib --enable-64-bit-bfd Now that the tests have completed, remove the symlinks in /usr/lib64 - they should be the only things in that directory, so we can remove it without force: rm -v /usr/lib64/libstd*so* rmdir -v /usr/lib64