bin/sh: 1: arm-eabi-gcc not found

EL Emam picture EL Emam · Jan 19, 2013 · Viewed 7.6k times · Source

I'm trying to compile a linux kernel by cross compile method. After solving a lot of problems, i have this one:

/bin/sh: 1: /home/oc2/prebuilt/linux-86X/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: not found

Answer

Ducktales picture Ducktales · Nov 4, 2013

Most probably you did not add the correct path to the tool chain properly.

export PATH=$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH

put this in your AOSP(the folder where you have your android platform in).