我正在尝试在Ubuntu上安装gcc-4.7-multilib-arm-linux-gnueabihf
,但出现以下错误:
Reading package lists… Done Building dependency tree Reading state
information… Done E: Unable to locate package
gcc-4.7-multilib-arm-linux-gnueabihf E: Couldn’t find any package by
glob ‘gcc-4.7-multilib-arm-linux-gnueabihf’ E: Couldn’t find any
package by regex ‘gcc-4.7-multilib-arm-linux-gnueabihf’
答案 0 :(得分:0)
寻找的软件包名称可能有所不同/已经进行了版本升级
请下次运行:
hostnamectl; # and give details about what os is used
尝试:
su - root; # become root
apt update; # update apt package database
apt search gnueabihf; # try to find a package that contains this string
hostnamectl; # tested on this system
Operating System: Debian GNU/Linux 9 (stretch)
Kernel: Linux 4.9.0-9-amd64
Architecture: x86-64
apt install gcc-arm-linux-gnueabihf; # install gcc arm compiler
可能想测试用于ARM的交叉编译RUST“ hello world”吗?
查看我的文章:https://dwaves.org/2019/09/27/compile-rust-hello-world-for-arm7/