From d0e3b943e1bbaef84a6efb61d8ececf88ed6839d Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Sun, 29 Jan 2023 22:00:46 -0500 Subject: Update binutils to binutils-2_40-branch --- README.md | 2 +- mingw-w64-build | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab13bd2..12323e8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ files. ## Default Branches * [MinGW-w64](https://mingw-w64.org) v9.x -* [Binutils](https://www.gnu.org/software/binutils/) binutils-2_39-branch +* [Binutils](https://www.gnu.org/software/binutils/) binutils-2_40-branch * [GCC](https://gcc.gnu.org/) releases/gcc-12 ## Default Prefix diff --git a/mingw-w64-build b/mingw-w64-build index bff82aa..eaf62e9 100755 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -19,7 +19,7 @@ ROOT_PATH="$HOME/.zeranoe/mingw-w64" MINGW_W64_BRANCH="v9.x" -BINUTILS_BRANCH="binutils-2_39-branch" +BINUTILS_BRANCH="binutils-2_40-branch" GCC_BRANCH="releases/gcc-12" ENABLE_THREADS="--enable-threads=posix" @@ -445,6 +445,10 @@ change_dir "$SRC_PATH/gcc" execute "" "failed to download GCC dependencies" \ ./contrib/download_prerequisites +for i in mpc isl mpfr gmp; do + ln -s "$SRC_PATH/gcc/$i" "$SRC_PATH/binutils/$i" +done + export CFLAGS="-g0" export CXXFLAGS="-g0" export LDFLAGS="-s" -- cgit v1.2.3