Skip to content

Commit cf9d9c6

Browse files
committed
Update to GCC 14.2
1 parent 10d33b6 commit cf9d9c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ mkdir ${BUILD}
99
mkdir ${INSTALL}
1010
root=$(pwd)
1111
cores=8
12-
VERSION_BINUTILS="2.41"
13-
VERSION_GCC="13.2.0"
14-
VERSION_LIBC="2.1.0"
12+
VERSION_BINUTILS="2.43"
13+
VERSION_GCC="14.2.0"
14+
VERSION_LIBC="2.2.1"
1515

1616
# Get sources
1717
wget -q "https://raw.githubusercontent.com/archlinux/svntogit-community/c3efadcb76f4d8b1a3784015e7c472f59dbfa7de/avr-binutils/repos/community-x86_64/avr-size.patch" &
1818
wget -q "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch" &
1919
#wget -q "https://raw.githubusercontent.com/osx-cross/homebrew-avr/18d50ba2a168a3b90a25c96e4bc4c053df77d7dc/Patch/avr-binutils-elf-bfd-gdb-fix.patch" &
2020
wget -qO- "https://ftp.gnu.org/gnu/binutils/binutils-${VERSION_BINUTILS}.tar.bz2" | tar xj --directory ${SRC} &
2121
wget -qO- "https://ftp.gnu.org/gnu/gcc/gcc-${VERSION_GCC}/gcc-${VERSION_GCC}.tar.xz" | tar xJ --directory ${SRC} &
22-
wget -qO- "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-${VERSION_LIBC}.tar.bz2" | tar xj --directory ${SRC} &
22+
wget -qO- "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-${VERSION_LIBC//./_}-release/avr-libc-${VERSION_LIBC}.tar.bz2" | tar xj --directory ${SRC} &
2323
wait
2424

2525
# Build binutils first

0 commit comments

Comments
 (0)