我在我的手臂chromebook雪地上运行ubuntu22.04 arm32:
mario@changeme:/etc/apt/sources.list.d# uname -a
Linux changeme 5.18.1-stb-cbe+ #1 SMP PREEMPT Sun Jun 5 14:16:07 CEST 2022 armv7l armv7l armv7l GNU/Linux
mario@changeme:/etc/apt/sources.list.d# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy我想知道如何在该操作系统上安装gcc-arm-linux-gnueabihf第4版(可能4.9很好),因为我想重新编译内核3.3,因为它希望如此。谢谢。
发布于 2023-02-25 21:04:13
对于您的特定架构(arm32 chromebook),我没有确切的答案,但这在我的arm64 MacBook上有效:
我在我的apt来源中添加了Xenial (16.04):
# /etc/apt/sources.list
deb http://ports.ubuntu.com/ubuntu-ports xenial universe这个旧版本的Ubuntu包含了GCC版本4.9:
$ apt policy gcc-4.9-arm-linux-gnueabi
gcc-4.9-arm-linux-gnueabi:
Installed: (none)
Candidate: 4.9.3-13ubuntu2cross1
Version table:
4.9.3-13ubuntu2cross1 500
500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages对于GCC版本5,我不必走那么远,Ubuntu (18.04)有这些软件包。
https://askubuntu.com/questions/1426428
复制相似问题