野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 21399|回复: 2

[求助] make: arm-none-eabi-gcc: Command not found

[复制链接]
发表于 2021-5-8 00:10:06 | 显示全部楼层 |阅读模式
mkdir -p build
arm-none-eabi-gcc -c sources/led.c -o build/led.o -Iincude
make: arm-none-eabi-gcc: Command not found
make: *** [Makefile:44: build/led.o] Error 127

我在搞逻辑编程的时候,无法执行,找了很多百度的都不行。我的Ubuntu版本是20的.请问这个怎么搞呢?

回复

使用道具 举报

 楼主| 发表于 2021-5-8 00:26:50 | 显示全部楼层
sudo apt-get install gcc-arm-none-eabi
调用这个旧可以了
回复 支持 反对

使用道具 举报

发表于 2021-5-10 17:12:31 | 显示全部楼层

回帖奖励 +20 火花

没有安装交叉编译器
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-4-30 09:50 , Processed in 0.028519 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表