Skip to content

Commit e5650e1

Browse files
committed
[DEBUG] Initial support for GCC 11.2.0 in User scripts (Fixes #86)
1 parent b8e9e91 commit e5650e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build-scripts/RTBuilder_32b

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ helpfunction() {
3636
echo ""
3737
echo ""
3838
echo "Usage: $0 -g [GCC version] -r [Target Pi type] -o [Target Pi OS type] -V"
39-
echo -e "\t-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|8.4.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0)"
39+
echo -e "\t-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|8.4.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0|11.1.0|11.2.0)"
4040
echo -e "\t-r What's yours Target Raspberry Pi type?: (0-1|2-3|3+)"
4141
echo -e "\t-o What's yours Target Raspberry Pi OS type?: (stretch|buster|bullseye)"
4242
echo -e "\t-V Verbose output for debugging?"
@@ -142,7 +142,7 @@ TARGET=arm-linux-gnueabihf
142142
GDB_VERSION=10.2
143143

144144
#validate env variables
145-
if ! [[ "$GCC_VERSION" =~ ^(6.3.0|7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0)$ ]]; then exit 1; fi
145+
if ! [[ "$GCC_VERSION" =~ ^(6.3.0|7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0|11.1.0|11.2.0)$ ]]; then exit 1; fi
146146
if ! [[ "$GCCBASE_VERSION" =~ ^(6.3.0|8.3.0|10.2.0)$ ]]; then exit 1; fi
147147
if ! [[ "$GLIBC_VERSION" =~ ^(2.24|2.28|2.31)$ ]]; then exit 1; fi
148148
if ! [[ "$BINUTILS_VERSION" =~ ^(2.28|2.31.1|2.35.2)$ ]]; then exit 1; fi

build-scripts/RTBuilder_64b

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ helpfunction() {
3636
echo ""
3737
echo ""
3838
echo "Usage: $0 -g [GCC version] -o [Target Pi OS type] -V"
39-
echo -e "\t-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|8.4.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0)"
39+
echo -e "\t-g GCC version you want to compile?: (7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|8.4.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0|11.1.0|11.2.0)"
4040
echo -e "\t-o What's yours Target Raspberry Pi OS type?: (stretch|buster|bullseye)"
4141
echo -e "\t-V Verbose output for debugging?"
4242
echo ""
@@ -122,7 +122,7 @@ TARGET=aarch64-linux-gnu
122122
GDB_VERSION=10.2
123123

124124
#validate env variables
125-
if ! [[ "$GCC_VERSION" =~ ^(7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0)$ ]]; then exit 1; fi
125+
if ! [[ "$GCC_VERSION" =~ ^(7.1.0|7.2.0|7.3.0|7.4.0|7.5.0|8.1.0|8.2.0|8.3.0|9.1.0|9.2.0|9.3.0|9.4.0|10.1.0|10.2.0|10.3.0|11.1.0|11.2.0)$ ]]; then exit 1; fi
126126
if ! [[ "$GCCBASE_VERSION" =~ ^(6.3.0|8.3.0|10.2.0)$ ]]; then exit 1; fi
127127
if ! [[ "$GLIBC_VERSION" =~ ^(2.24|2.28|2.31)$ ]]; then exit 1; fi
128128
if ! [[ "$BINUTILS_VERSION" =~ ^(2.28|2.31.1|2.35.2)$ ]]; then exit 1; fi

0 commit comments

Comments
 (0)