Skip to content
Advertisement

/bin/sh: 1: arm-linux-gcc: not found on ubuntu

I m trying to build using gcc arm cross compiler and i get following error

Building file: ../src/application.c Invoking: GCC C Compiler arm-linux-gcc -O3 -Wall -c -I -fmessage-length=0 -MMD -MP -MF”src/application.d” -MT”src/application.d” -o “src/application.o” “../src/application.c” /bin/sh: 1: arm-linux-gcc: not found

i also check my path setting and i had proper valid path to the arm-linux-gcc and also linux “which” command gives the correct path of arm-linux-gcc..

could some one let me know what i am doing wrong..?

Advertisement

Answer

i figured it out,very silly mistake. i was trying to run 32-bit binary on a 64-bit system.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement