首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装手臂-无-eabi-gcc

安装手臂-无-eabi-gcc
EN

Unix & Linux用户
提问于 2017-07-09 19:20:51
回答 1查看 25.9K关注 0票数 3

我正在遵循以下指南:https://wiki.archlinux.org/index.php/Orange_皮派

我收到以下命令的错误:$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi-

以下是错误:

代码语言:javascript
复制
make: arm-none-eabi-gcc: Command not found
/bin/sh: 1: arm-none-eabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  CFG     u-boot.cfg
/bin/sh: 1: arm-none-eabi-gcc: not found
  GEN     include/autoconf.mk.dep
/bin/sh: 1: arm-none-eabi-gcc: not found
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make[1]: *** [u-boot.cfg] Error 1
make[1]: *** Waiting for unfinished jobs....
scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
  CFG     spl/u-boot.cfg
make[1]: *** [include/autoconf.mk.dep] Error 1
/bin/sh: 1: arm-none-eabi-gcc: not found
scripts/Makefile.autoconf:82: recipe for target 'spl/u-boot.cfg' failed
make[1]: *** [spl/u-boot.cfg] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.

我的猜测是因为我的系统上没有安装arm-none-eabi-gcc,但是当我输入命令sudo apt-get install arm-none-eabi-gcc时,我收到一个错误,说没有这样的包。

EN

回答 1

Unix & Linux用户

发布于 2017-07-09 19:37:06

在Debian和衍生工具上,您要寻找的包是gcc-arm-none-eabi

代码语言:javascript
复制
apt install gcc-arm-none-eabi

要想在将来找到这一点,请安装apt-file,更新索引并使用它搜索命令:

代码语言:javascript
复制
apt install apt-file
apt-file update
apt-file search bin/arm-none-eabi-gcc
票数 15
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/377345

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档