Tool/software:
Hi TI guys,
I use the ti-cgt-arm_20.2.0.LTS/bin/armclto compile in the CmakeLists.txt, but it reports the following error:
CMake Error at /usr/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake:63 (message):
is not able to compile a simple test program.
It fails with the following output:
***
CMakeFiles/cmTC_27091.dir/build.make:99: recipe for target 'cmTC_27091' failed..
The CMakeLists.txt as follow:
`option(UNDER_ARM "ARM toolchain compile" ON)
if(UNDER_ARM)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(CMAKE_CXX_COMPILER /home/xiejieying/rtos_sdk_7.1/ti-cgt-arm_20.2.0.LTS/bin/armcl)
set(CMAKE_C_COMPILER /home/xiejieying/rtos_sdk_7.1/ti-cgt-arm_20.2.0.LTS/bin/armcl)
message("CMAKE_CXX_COMPILER_VERSION: ${CMAKE_CXX_COMPILER_VERSION}")
endif()
project(integrator)`
Best regard