cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja .. CMake Warning (dev) at CMakeLists.txt:14: Syntax Warning in cmake code at column 73 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMakeLists.txt:14: Syntax Warning in cmake code at column 85 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMakeLists.txt:14: Syntax Warning in cmake code at column 91 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 10.3.1 -- The ASM compiler identification is GNU -- Found assembler: C:/Users/lenovo/gcc/bin/arm-none-eabi-gcc.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Users/lenovo/gcc/bin/arm-none-eabi-gcc.exe -- Check for working C compiler: C:/Users/lenovo/gcc/bin/arm-none-eabi-gcc.exe - broken CMake Error at C:/Users/lenovo/zProg/Cmake/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "C:/Users/lenovo/gcc/bin/arm-none-eabi-gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: 'D:/USER/ANDR/WORK/DMR_CTRL/DEBUG/CMakeFiles/CMakeScratch/TryCompile-wnyepy' Run Build Command(s): C:/Users/lenovo/zProg/ninja.exe -v cmTC_47166 [1/2] C:\Users\lenovo\gcc\bin\arm-none-eabi-gcc.exe -o CMakeFiles/cmTC_47166.dir/testCCompiler.c.obj -c D:/USER/ANDR/WORK/DMR_CTRL/DEBUG/CMakeFiles/CMakeScratch/TryCompile-wnyepy/testCCompiler.c [2/2] C:\Windows\system32\cmd.exe /C "cd . && C:\Users\lenovo\gcc\bin\arm-none-eabi-gcc.exe CMakeFiles/cmTC_47166.dir/testCCompiler.c.obj -o cmTC_47166.exe -Wl,--out-implib,libcmTC_47166.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." FAILED: cmTC_47166.exe C:\Windows\system32\cmd.exe /C "cd . && C:\Users\lenovo\gcc\bin\arm-none-eabi-gcc.exe CMakeFiles/cmTC_47166.dir/testCCompiler.c.obj -o cmTC_47166.exe -Wl,--out-implib,libcmTC_47166.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." c:/users/lenovo/gcc/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '--major-image-version' c:/users/lenovo/gcc/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: use the --help option for usage information collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:7 (project) -- Configuring incomplete, errors occurred!