尝试为我的 mini2440 ARM 板构建最新版本的 u-boot 引导加载程序,我设法从 codesourcery 下载了一个工具链包并将其解压缩到以下路径:/usr/local/arm-2008q3/
我还为当前会话导出了以下值:
export PATH=$PATH:/usr/local/arm-2008q3/bin
export CROSS_COMPILE=arm-none-linux-gnueabi-
当我运行 make 时,我得到以下输出,但我不知道为什么:
make: arm-none-linux-gnueabi-gcc: Command not found
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/home/deth/uboot/mini2440/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/deth/uboot/mini2440/tools'
make[1]: arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/home/deth/uboot/mini2440/examples'
/bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
我仔细检查了所有内容,二进制文件确实位于上述文件夹中,但是...请解释我错在哪里。