name=binutils version=2.25.1 dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2" \ "ac493a78de4fee895961d025b7905be4" header_end mkdir "$name-build"; cd "$name-build" CC="$target-gcc" \ AR="$target-ar" \ RANLIB="$target-ranlib" \ "../$name-$version/configure" \ --prefix=/tools \ --disable-nls \ --disable-werror \ --with-lib-path=/tools/lib \ --with-sysroot make; make DESTDIR="$dir_install" install make -C ld clean make -C ld LIB_PATH=/lib:/lib64:/usr/lib:/usr/lib64 cp ld/ld-new "$dir_install/tools/bin/ld-new" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: