Skip to content

Commit 06c02c2

Browse files
Update to gcc-13.3.0
1 parent eec6961 commit 06c02c2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

crosstool.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ print_help() {
2020
ls *.in | sed 's/\.in//; s/^/ /'
2121
}
2222

23-
2423
JOBS=$(nproc || echo 4)
2524
while getopts j:h arg; do
2625
case $arg in
@@ -37,16 +36,17 @@ CROSSTOOL_ARCH=$1
3736

3837
. ./$CROSSTOOL_ARCH.in
3938

40-
CUR_DIR=$(pwd)
4139
# Create temp working dir
4240
if [ ! -e build-$CROSSTOOL_ARCH ]; then
4341
mkdir build-$CROSSTOOL_ARCH
4442
fi
43+
44+
CUR_DIR=$(pwd)
45+
4546
BUILD_DIR=$CUR_DIR/build-$CROSSTOOL_ARCH
4647

4748
LOG_FILE=$BUILD_DIR/emtool.log
4849

49-
5050
PATCHES_DIR=$CUR_DIR/patches
5151

5252
PATCHES="$(ls $PATCHES_DIR/*.patch 2>/dev/null || true)
@@ -65,7 +65,7 @@ GET_URL=("https://libisl.sourceforge.io/isl-0.24.tar.bz2" \
6565
"https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.bz2" \
6666
"https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz" \
6767
"https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.bz2" \
68-
"https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.gz" \
68+
"https://ftp.gnu.org/gnu/gcc/gcc-13.3.0/gcc-13.3.0.tar.gz" \
6969
"https://ftp.gnu.org/gnu/gdb/gdb-14.2.tar.xz")
7070

7171
DOWNLOAD=../download
@@ -75,6 +75,8 @@ for i in $(seq 0 $((${#GET_URL[@]} - 1))); do
7575
NAME[$i]=${TARBALL[$i]%%.tar.*}
7676
done
7777

78+
MAKE_FLAGS="${MAKE_FLAGS} -j$JOBS"
79+
7880
do_download() {
7981
local downloaded=".downloaded"
8082
print_msg "Download sources"

patches/mips/t-mti-elf.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- gcc-13.2.0/gcc/config/mips/t-mti-elf 2023-07-27 11:13:04.000000000 +0300
2-
+++ gcc-13.2.0/gcc/config/mips/t-mti-elf-new 2024-04-06 05:57:41.083277145 +0300
1+
--- gcc-13.3.0/gcc/config/mips/t-mti-elf 2023-07-27 11:13:04.000000000 +0300
2+
+++ gcc-13.3.0/gcc/config/mips/t-mti-elf-new 2024-04-06 05:57:41.083277145 +0300
33
@@ -19,8 +19,8 @@
44
# The default build is mips32r2, hard-float big-endian. Add mips32,
55
# soft-float, and little-endian variations.

0 commit comments

Comments
 (0)