"D:\clion.ture\CLion 2024.2.1\bin\cmake\win\x64\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=D:/clion/minggw/mingw64/bin/mingw32-make.exe -DCMAKE_C_COMPILER=D:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe -DCMAKE_CXX_COMPILER=D:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe -G "MinGW Makefiles" -S C:\Users\20420\Desktop\learnc++andgit\test -B C:\Users\20420\Desktop\learnc++andgit\test\cmake-build-debug-mingw -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: D:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe -- Check for working C compiler: D:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe - broken CMake Error at D:/clion.ture/CLion 2024.2.1/bin/cmake/win/x64/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "D:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: 'C:/Users/20420/Desktop/learnc++andgit/test/cmake-build-debug-mingw/CMakeFiles/CMakeScratch/TryCompile-un5k8e' Run Build Command(s): "D:/clion.ture/CLion 2024.2.1/bin/cmake/win/x64/bin/cmake.exe" -E env VERBOSE=1 D:/clion/minggw/mingw64/bin/mingw32-make.exe -f Makefile cmTC_f5e8f/fast D:/clion/minggw/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_f5e8f.dir\build.make CMakeFiles/cmTC_f5e8f.dir/build mingw32-make.exe[1]: Entering directory 'C:/Users/20420/Desktop/learnc++andgit/test/cmake-build-debug-mingw/CMakeFiles/CMakeScratch/TryCompile-un5k8e' Building C object CMakeFiles/cmTC_f5e8f.dir/testCCompiler.c.obj D:\clion\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10\bin\arm-none-eabi-gcc.exe -fdiagnostics-color=always -o CMakeFiles\cmTC_f5e8f.dir\testCCompiler.c.obj -c C:\Users\20420\Desktop\learnc++andgit\test\cmake-build-debug-mingw\CMakeFiles\CMakeScratch\TryCompile-un5k8e\testCCompiler.c Linking C executable cmTC_f5e8f.exe "D:\clion.ture\CLion 2024.2.1\bin\cmake\win\x64\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_f5e8f.dir\link.txt --verbose=1 "D:\clion.ture\CLion 2024.2.1\bin\cmake\win\x64\bin\cmake.exe" -E rm -f CMakeFiles\cmTC_f5e8f.dir/objects.a D:\clion\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10\bin\arm-none-eabi-ar.exe qc CMakeFiles\cmTC_f5e8f.dir/objects.a @CMakeFiles\cmTC_f5e8f.dir\objects1.rsp D:\clion\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10\bin\arm-none-eabi-gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_f5e8f.dir/objects.a -Wl,--no-whole-archive -o cmTC_f5e8f.exe -Wl,--out-implib,libcmTC_f5e8f.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_f5e8f.dir\linkLibs.rsp d:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '--major-image-version' d:/clion/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10/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 mingw32-make.exe[1]: *** [CMakeFiles\cmTC_f5e8f.dir\build.make:100: cmTC_f5e8f.exe] Error 1 mingw32-make.exe[1]: Leaving directory 'C:/Users/20420/Desktop/learnc++andgit/test/cmake-build-debug-mingw/CMakeFiles/CMakeScratch/TryCompile-un5k8e' mingw32-make.exe: *** [Makefile:126: cmTC_f5e8f/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Configuring incomplete, errors occurred!