Skip to content

Commit c49674e

Browse files
Add GCC 10.3 support
1 parent 48f7b08 commit c49674e

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,17 @@ else ifeq ($(GCC), 10.2)
108108
BINUTILS_BRANCH := binutils-2_32
109109
BINUTILS_REPO := https://sourceware.org/git/binutils-gdb.git
110110
BINUTILS_DIR := binutils-gdb-gnu
111+
else ifeq ($(GCC), 10.3)
112+
ISL := 0.18
113+
GCC_BRANCH := releases/gcc-10.3.0
114+
GCC_PKGREL := 100300
115+
GCC_REPO := https://gcc.gnu.org/git/gcc.git
116+
GCC_DIR := gcc-gnu
117+
BINUTILS_BRANCH := binutils-2_32
118+
BINUTILS_REPO := https://sourceware.org/git/binutils-gdb.git
119+
BINUTILS_DIR := binutils-gdb-gnu
111120
else
112-
$(error Need to specify a supported GCC version "GCC={4.8, 4.9, 5.2, 7.2, 9.3, 10.1, 10.2}")
121+
$(error Need to specify a supported GCC version "GCC={4.8, 4.9, 5.2, 7.2, 9.3, 10.1, 10.2, 10.3}")
113122
endif
114123

115124
# MKSPIFFS must stay at 0.2.0 until Arduino boards.txt.py fixes non-page-aligned sizes

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
Allows building Win32, Win64, OSX, Linux x86_64, ARM64 (aarch64) and Raspberry Pi ESP8266 toolchains in a Docker container.
44

5-
## Work In Progesss
6-
7-
Builds work for GCC 4.8, 7.2, 9.3, 10.1, and 10.2. Others not fully tested but were building last time they were tried.
5+
Builds work for GCC 4.8, 7.2, 9.3, 10.1, and 10.2.
86

97
## Downloading GCC/etc. sources
108

post/10.3-clean-libgcc.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# Remove ROM soft-fp
4+
ext=$1
5+
for i in _addsubdf3.o _addsubsf3.o _divdf3.o _divdi3.o _divsi3.o _extendsfdf2.o _fixdfsi.o _fixunsdfsi.o _fixunssfsi.o _floatsidf.o _floatsisf.o _muldf3.o _muldi3.o _mulsf3.o _truncdfsf2.o _udivdi3.o _udivsi3.o _umoddi3.o _umodsi3.o _umulsidi3.o; do
6+
./xtensa-lx106-elf.x86_64/bin/xtensa-lx106-elf-gcc-ar d ./xtensa-lx106-elf${ext}/lib/gcc/xtensa-lx106-elf/*/libgcc.a $i
7+
done

0 commit comments

Comments
 (0)