gpt4 book ai didi

c - 移植,Linux,C

转载 作者:太空宇宙 更新时间:2023-11-04 11:24:19 26 4
gpt4 key购买 nike

运行命令时出现错误

[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

事实上,我也收到错误 COMMAND NOT FOUND::制作 ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-

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

最佳答案

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

PATH=$PATH:/path/to/compiler
export PATH

关于c - 移植,Linux,C,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15790993/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com