I am trying to build prepared examples of the link below;
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 ?
then launch those build scripts
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;
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
Did Edward’s comments help solve your issue? Or are you still have difficulties?