VF61 Compiler Could Not Be Identified?

Hi,

I am trying to build prepared examples of the link below;

https://developer.toradex.com/knowledge-base/freertos-on-the-cortex-m4-of-a-colibri-vf61

I build existing samples on Ubuntu 18.04 LTS operating system. Built output is as follows;

– BUILD_TYPE: Debug
– The ASM compiler identification is unknown
– Found assembler: /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc

– Warning: Did not find file Compiler/-ASM

– Configuring done

– Generating done

I suppose, something went wrong and ASM compiler could not be identified.

The content of the CMakeError.log is as follows;

Checking whether the ASM compiler is GNU using “–version” did not match “(GNU assembler)|(GCC)|(Free Software Foundation)”:
/opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: 1: /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting “)”)

I could not understand the cause of this problem. Could you please help me to resolve this problem ?

export ARMGCC_DIR=/opt/gcc-arm-none-eabi-4_9-2015q3

then launch those build scripts ./build_release.sh or ./build_debug.sh

Hi,

That’s what I exactly do. Here is the output of “echo $ARMGCC_DIR” : /opt/gcc-arm-none-eabi-4_9-2015q3

By the way, arm compiler is set like below in armgcc.cmake file;

CMAKE_FORCE_C_COMPILER(${TOOLCHAIN_BIN_DIR}/${TARGET_TRIPLET}-gcc${TOOLCHAIN_EXT}
GNU)
CMAKE_FORCE_CXX_COMPILER(${TOOLCHAIN_BIN_DIR}/${TARGET_TRIPLET}-g++${TOOLCHAIN_EXT}
GNU) SET(CMAKE_ASM_COMPILER
${TOOLCHAIN_BIN_DIR}/${TARGET_TRIPLET}-gcc${TOOLCHAIN_EXT})

But as I stated before, somehow compiler is not set. Is there any step I miss ?

Thanks in advance

You have extra /bin/arm-none-eabi-gcc

Hi @cranberriess

Did Edward’s comments help solve your issue? Or are you still have difficulties?

Best Regards,
Jeremias