简体   繁体   English

如何在嵌入 linux 的 arago 项目中安装 gcc?

[英]how to install gcc in arago project embedded linux?

everyone.每个人。 I am currently using a phycore am65x embedded board.我目前正在使用phycore am65x嵌入式板。 I'm a student, and I don't know much because it's my first time dealing with Embedded.我是一名学生,我知道的不多,因为这是我第一次与 Embedded 打交道。 So I need your help.所以我需要你的帮助。 As mentioned earlier, the phycore am65x board does not cover packages.如前所述,phycore am65x 板不包括封装。 It turned out that it was an arago project (yocto) and apt-get didn't work.原来这是一个arago 项目(yocto) ,而apt-get没有用。 The problem I am trying to solve is that the goal is to install gcc on the board and compile c on the board (error erasing gcc).我要解决的问题是目标是在板上安装 gcc 并在板上编译 c (错误擦除 gcc)。 How can I fix this?我怎样才能解决这个问题? I need your help.我需要你的帮助。

Reference参考

  • uname -a: Linux am65xx-phycore-kit 4.14.79-g9d8d0716d0 #1 SMP PREEMPT Wed Jul 10 17:37:42 UTC 2019 aarch64 GNU/Linux uname -a: Linux am65xx-phycore-kit 4.14.79-g9d8d0716d0 #1 SMP PREEMPT Wed Jul 10 17:37:42 UTC 2019 aarch64 GNU/Linux

  • cat /etc/issue:猫 /etc/问题:

    Arago Project http://arago-project.org \n \l阿拉戈项目http://arago-project.org \n \l
    Arago 2018.10 \n \l阿拉戈 2018.10 \n \l
    PHYTEC: BSP-Yocto-TISDK-AM65xx-ALPHA1 PHYTEC:BSP-Yocto-TISDK-AM65xx-ALPHA1

It should be fairly simple to install gcc in any linux distribution.在任何 linux 发行版中安装 gcc 应该相当简单。 Go to this site, https://gcc.gnu.org/wiki/InstallingGCC download the tar and install it according the instructions on the same site. Go 到这个站点, https://gcc.gnu.org/wiki/InstallingGCC下载 tar 并按照同一站点上的说明进行安装。 Alternatively, if you have access to the Yocto project and can bitbake it again you can add to the local.conf或者,如果您可以访问 Yocto 项目并且可以再次对其进行 bitbake,则可以将其添加到 local.conf

IMAGE_INSTALL_append= " libgcc"

or something similar.或类似的东西。

https://gcc.gnu.org/wiki/InstallingGCC https://gcc.gnu.org/wiki/InstallingGCC

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM