Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /usr/local/bin/arm-none-eabi-gcc Build flags: ;-mcpu=cortex-m0plus;-mthumb Id flags: The output was: 1 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a(lib_a-exit.o): in function `exit': exit.c:(.text.exit+0x18): undefined reference to `_exit' collect2: error: ld returned 1 exit status Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/local/bin/arm-none-eabi-g++ Build flags: ;-mcpu=cortex-m0plus;-mthumb Id flags: The output was: 1 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a(lib_a-exit.o): in function `exit': exit.c:(.text.exit+0x18): undefined reference to `_exit' collect2: error: ld returned 1 exit status