root@
ubuntu:~/forlinx/linux-2.6.36.2# make zImage
- make: arm-linux-gcc: Command not found
-
- CHK include/linux/version.h
-
- CHK include/generated/utsrelease.h
- make[1]: `include/generated/mach-types.h' is up to date.
-
- CC kernel/bounds.s
- /bin/sh: arm-linux-gcc: not found
- make[1]: *** [kernel/bounds.s] Error 127
- make: *** [prepare0] Error 2
的解决方法:
如果你的arm-linux-gcc这个文件在 /usr/local/arm/4.3.2/bin下
那么你在终端里设置临时环境变量的方法是
#:export PATH=/usr/local/arm/4.3.2/bin:$PATH
复制代码