0

运行此命令时出现此错误

[root@himanshi busybox-1.20.2]# make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi- CONFIG_PREFIX=/home/himanshi/beagleboard_xm/target install
    /home/himanshi/beagleboard_xm/build/busybox-1.20.2/scripts/gcc-version.sh: line 11: arm-unknown-linux-gnueabi-gcc: command not found
      CC      applets/applets.o
    /bin/sh: arm-unknown-linux-gnueabi-gcc: command not found
    make[1]: *** [applets/applets.o] Error 127
make: *** [applets_dir] Error 2

事实上,我也收到错误命令未找到:: make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-

请帮助我解决这个问题。谢谢喜满士

4

1 回答 1

1

您应该将路径arm-unknown-linux-gnueabi-gcc放在 PATH 环境变量中,如下所示:

PATH=$PATH:/path/to/compiler
export PATH
于 2013-04-03T16:32:41.087 回答