Rebuild Binutils 2.38 using all modern features

- Rather than using part-by-part build of Binutils, use autogen and full
  ./configure, make build.
- Enable some other modern features, including the gold linker, threaded
  linking and 64-bit linking.
- This allows GCC 12 to build unhindered by binutils.
This commit is contained in:
fosslinux 2023-04-17 21:39:32 +10:00
parent 8ae911162a
commit ac4685e886
5 changed files with 145 additions and 3 deletions

View file

@ -74,7 +74,7 @@ build texinfo-6.7
build gcc-4.7.4
build binutils-2.38
build binutils-2.38 pass1.sh
build gperf-3.1
@ -122,6 +122,8 @@ build python-3.11.1
build gcc-10.4.0
build binutils-2.38 pass2.sh
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp