Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /usr/bin/cc Build flags: -mthumb;-fno-builtin;-mcpu=cortex-m3;-Wall;-std=gnu99;-ffunction-sections;-fdata-sections;-fomit-frame-pointer;-mabi=aapcs;-fno-unroll-loops;-ffast-math;-ftree-vectorize Id flags: The output was: 1 cc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead cc: error: unrecognized argument in option ‘-mabi=aapcs’ cc: note: valid arguments to ‘-mabi=’ are: ms sysv cc: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /usr/bin/cc Build flags: -mthumb;-fno-builtin;-mcpu=cortex-m3;-Wall;-std=gnu99;-ffunction-sections;-fdata-sections;-fomit-frame-pointer;-mabi=aapcs;-fno-unroll-loops;-ffast-math;-ftree-vectorize Id flags: -c The output was: 1 cc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead cc: error: unrecognized argument in option ‘-mabi=aapcs’ cc: note: valid arguments to ‘-mabi=’ are: ms sysv cc: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /usr/bin/cc Build flags: -mthumb;-fno-builtin;-mcpu=cortex-m3;-Wall;-std=gnu99;-ffunction-sections;-fdata-sections;-fomit-frame-pointer;-mabi=aapcs;-fno-unroll-loops;-ffast-math;-ftree-vectorize Id flags: -Aa The output was: 1 cc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead cc: error: unrecognized argument in option ‘-mabi=aapcs’ cc: note: valid arguments to ‘-mabi=’ are: ms sysv cc: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": cc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead cc: error: unrecognized argument in option ‘-mabi=aapcs’ cc: note: valid arguments to ‘-mabi=’ are: ms sysv cc: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? cc: fatal error: no input files compilation terminated. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -mthumb;-fno-builtin;-mcpu=cortex-m3;-Wall;-std=c++11;-ffunction-sections;-fdata-sections;-fomit-frame-pointer;-mabi=aapcs;-fno-unroll-loops;-ffast-math;-ftree-vectorize Id flags: The output was: 1 c++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead c++: error: unrecognized argument in option ‘-mabi=aapcs’ c++: note: valid arguments to ‘-mabi=’ are: ms sysv c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -mthumb;-fno-builtin;-mcpu=cortex-m3;-Wall;-std=c++11;-ffunction-sections;-fdata-sections;-fomit-frame-pointer;-mabi=aapcs;-fno-unroll-loops;-ffast-math;-ftree-vectorize Id flags: -c The output was: 1 c++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead c++: error: unrecognized argument in option ‘-mabi=aapcs’ c++: note: valid arguments to ‘-mabi=’ are: ms sysv c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler": c++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead c++: error: unrecognized argument in option ‘-mabi=aapcs’ c++: note: valid arguments to ‘-mabi=’ are: ms sysv c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? c++: fatal error: no input files compilation terminated. Determining if the C compiler works failed with the following output: Change Dir: /home/john/5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1d1d8/fast" /usr/bin/make -f CMakeFiles/cmTC_1d1d8.dir/build.make CMakeFiles/cmTC_1d1d8.dir/build make[1]: вход в каталог «/home/john/5/CMakeFiles/CMakeTmp» Building C object CMakeFiles/cmTC_1d1d8.dir/testCCompiler.c.o /usr/bin/cc -mthumb -fno-builtin -mcpu=cortex-m3 -Wall -std=gnu99 -ffunction-sections -fdata-sections -fomit-frame-pointer -mabi=aapcs -fno-unroll-loops -ffast-math -ftree-vectorize -o CMakeFiles/cmTC_1d1d8.dir/testCCompiler.c.o -c /home/john/5/CMakeFiles/CMakeTmp/testCCompiler.c cc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead cc: error: unrecognized argument in option ‘-mabi=aapcs’ cc: note: valid arguments to ‘-mabi=’ are: ms sysv cc: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? CMakeFiles/cmTC_1d1d8.dir/build.make:65: ошибка выполнения рецепта для цели «CMakeFiles/cmTC_1d1d8.dir/testCCompiler.c.o» make[1]: *** [CMakeFiles/cmTC_1d1d8.dir/testCCompiler.c.o] Ошибка 1 make[1]: выход из каталога «/home/john/5/CMakeFiles/CMakeTmp» Makefile:126: ошибка выполнения рецепта для цели «cmTC_1d1d8/fast» make: *** [cmTC_1d1d8/fast] Ошибка 2