make: i686-linux-gcc: Command not found

view story

http://unix.stackexchange.com – I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux- kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: Command not found CHK include/linux/version.h CHK include/generated/utsrelease.h CC kernel/bounds.s /bin/sh: i686-linux-gcc: not found make[1]: *** [kernel/bounds.s] Error 127 make: *** [prepare0] Error 2 I know there is not any i686-linux-gcc compiler on my system. I don't know how to install it too. echo $path shows /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ (HowTos)