From 6ec5c3b10f3665568693ba6c0f4b639a420efc67 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Mon, 13 Jan 2020 23:11:19 -0500 Subject: Update copyright, binutils, and MinGW-w64. Copy Ninja with N_CPU + 2 for parallel builds. --- README.md | 4 ++-- mingw-w64-build | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 863c16c..8846448 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [MinGW-w64](https://mingw-w64.org) cross compiler build script for i686 (Win32) and x86_64 (Win64). ## Package -* [MinGW-w64](https://mingw-w64.org) 6git -* [Binutils](https://www.gnu.org/software/binutils/) 2.32git +* [MinGW-w64](https://mingw-w64.org) 7git +* [Binutils](https://www.gnu.org/software/binutils/) 2.33git * [GCC](https://gcc.gnu.org/) 9svn * [GMP](https://gmplib.org/) 6.1.2 * [MPFR](http://www.mpfr.org/) 4.0.2 diff --git a/mingw-w64-build b/mingw-w64-build index 80dc5ed..688bf8c 100755 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -16,9 +16,9 @@ # along with this program. If not, see . # -v_script="4.0.1" -v_mingww64="6git" -v_binutils="2.32git" +v_script="4git" +v_mingww64="7git" +v_binutils="2.33git" v_gcc="9svn" v_gmp="6.1.2" v_mpfr="4.0.2" @@ -48,7 +48,7 @@ show_version() { cat <. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. @@ -83,10 +83,10 @@ download_sources() cd "$src" || error_exit echo "downloading mingw-w64" >&3 - git clone --depth 1 -b v6.x git://git.code.sf.net/p/mingw-w64/mingw-w64 mingw-w64-$v_mingww64 || error_exit + git clone --depth 1 -b v7.x git://git.code.sf.net/p/mingw-w64/mingw-w64 mingw-w64-$v_mingww64 || error_exit echo "downloading binutils" >&3 - git clone --depth 1 -b binutils-2_32-branch --single-branch git://sourceware.org/git/binutils-gdb.git binutils-$v_binutils || error_exit + git clone --depth 1 -b binutils-2_33-branch --single-branch git://sourceware.org/git/binutils-gdb.git binutils-$v_binutils || error_exit echo "downloading gcc" >&3 svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-9-branch gcc-$v_gcc || error_exit @@ -235,6 +235,7 @@ if [[ -n "$missing_progs" ]]; then fi cpus=$(grep -c processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu | tr -d "\n" 2>/dev/null) +(( cpus += 2 )) build=$(curl -s "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" | sh) wd="$PWD" src="$wd/src" -- cgit v1.2.3