File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,22 +9,22 @@ mkdir ${BUILD}
9
9
mkdir ${INSTALL}
10
10
root=$( pwd)
11
11
cores=4
12
- VERSION_BINUTILS=" 2.32 "
13
- VERSION_GCC=" 9 .2.0"
12
+ # VERSION_BINUTILS="2.33 "
13
+ VERSION_GCC=" 10 .2.0"
14
14
VERSION_LIBC=" 2.0.0"
15
15
16
16
# Get sources
17
- wget -q " https://dl.bintray.com/osx-cross/avr-patches/avr-binutils-${VERSION_BINUTILS} -size.patch" &
17
+ wget -q " https://dl.bintray.com/osx-cross/avr-patches/avr-binutils-2.33 -size.patch" &
18
18
wget -q " https://dl.bintray.com/osx-cross/avr-patches/avr-libc-${VERSION_LIBC} -atmega168pb.patch" &
19
- wget -qO- " https://ftp.gnu.org/gnu/binutils/binutils-${VERSION_BINUTILS} .tar.bz2" | tar xj --directory ${SRC} &
19
+ wget -qO- " https://ftp.gnu.org/gnu/binutils/binutils-2.33.1 .tar.bz2" | tar xj --directory ${SRC} &
20
20
wget -qO- " https://ftp.gnu.org/gnu/gcc/gcc-${VERSION_GCC} /gcc-${VERSION_GCC} .tar.xz" | tar xJ --directory ${SRC} &
21
21
wget -qO- " https://download.savannah.gnu.org/releases/avr-libc/avr-libc-${VERSION_LIBC} .tar.bz2" | tar xj --directory ${SRC} &
22
22
wait
23
23
24
24
# Build binutils first
25
- cd ${SRC} /binutils-${VERSION_BINUTILS}
25
+ cd ${SRC} /binutils-2.33.1
26
26
# patch size file
27
- patch -g 0 -f -p0 -i ../../avr-binutils-${VERSION_BINUTILS} -size.patch
27
+ patch -g 0 -f -p0 -i ../../avr-binutils-2.33 -size.patch
28
28
mkdir build && cd build
29
29
# configure and make
30
30
../configure --prefix=${INSTALL} /avr-binutils/ --target=avr --disable-nls --disable-werror
@@ -58,5 +58,5 @@ make install -j${cores}
58
58
59
59
cd ${root}
60
60
rm -r build src
61
- rm avr-binutils-${VERSION_BINUTILS} -size.patch
61
+ rm avr-binutils-2.33 -size.patch
62
62
rm avr-libc-${VERSION_LIBC} -atmega168pb.patch
You can’t perform that action at this time.
0 commit comments