Skip to content

Commit 508304a

Browse files
committed
Tools: check for GCC 8, rather than 6
Planning to update to supporting GCC 8 as found in GNU Tools for Arm Embedded Processors 8-2018q4-major. Newer GCC in particular supports ARMv8-M security extensions, and link-time optimisation - two areas of interest. Should be no code changes required, but need to change the warning in the toolchain script.
1 parent 64575fe commit 508304a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class GCC(mbedToolchain):
3333
STD_LIB_NAME = "lib%s.a"
3434
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(?P<col>\d+):? (?P<severity>warning|[eE]rror|fatal error): (?P<message>.+)')
3535

36-
GCC_RANGE = (LooseVersion("6.0.0"), LooseVersion("7.0.0"))
36+
GCC_RANGE = (LooseVersion("8.0.0"), LooseVersion("9.0.0"))
3737
GCC_VERSION_RE = re.compile(b"\d+\.\d+\.\d+")
3838

3939
def __init__(self, target, notify=None, macros=None, build_profile=None,

0 commit comments

Comments
 (0)