- # install binutils linking against new libc
- cd $root/tmp/src.binutils/binutils-build
- make -C ld install
- cd -
- rm -rf $root/tmp/src.binutils
+ # install the ld linking against new libc
+ mv -v $bindir/{ld,ld-old}
+ mv -v $prefix/`gcc -dumpmachine`/bin/{ld,ld-old}
+ mv -v $bindir/{ld-new,ld}
+ ln -sfv $bindir/ld $prefix/`gcc -dumpmachine`/bin/ld