Install arm-none-eabi-* Packages (Manually?)

This forum is for discussion about general software issues.

Install arm-none-eabi-* Packages (Manually?)

Postby tmmd » Sat Feb 08, 2020 3:09 am

Hi there,

I'm trying to use my RasPi to put together a keymap for a keyboard using QMK firmware, and I need to install arm-none-eabi-gcc, arm-none-eabi-binutils, and arm-none-eabi-newlib to get the QMK tools working. These packages aren't showing up when I run pacman -Ss arm-none-eabi, so any help you could give me about how to install them would be much appreciated.

If there's a repo somewhere with the packages already setup for ArchLinuxARM, definitely let me know.

Otherwise, I found this forum post about building/installing the packages manually (viewtopic.php?f=15&t=11751). The second post seems particularly useful, but I'm still newb-ish to Arch and not sure how to do what it's outlining. In particular, where should I go to get the source code I'd need to compile? Would I just use the Source Files link from the ArchLinux page (https://www.archlinux.org/packages/comm ... -eabi-gcc/) that's linked in the other post, or should I be going somewhere else?

Also, what tools would I need to use to do the compiling? The Source Files link looks to only have a PKGBUILD, so should I use makepkg as outlined here (https://wiki.archlinux.org/index.php/Makepkg), or use something else with the PKGBUILD, or is the PKGBUILD a false start?

Thanks in advance for any pointers you can share. Best!
tmmd
 
Posts: 17
Joined: Sun Jan 19, 2020 3:34 am

Re: Install arm-none-eabi-* Packages (Manually?)

Postby tmmd » Sun Feb 09, 2020 9:47 pm

Ok, I've made some progess but also hit a stumbling block I'm not sure what to do with. I used makepkg on my x86 laptop to build all three packages, then put the built packages on a thumb drive and connected it to my RasPi. From there I was able to use pacman -U to install arm-none-eabi-newlib, so that's the progress. However, when I try to install -gcc and -binutils, pacman -U returns an error saying:

$this->bbcode_second_pass_code('', 'error: failed to prepare transaction (package architecture xis not valid) .
:: package arm-none-eabi-gcc-9.2.0-1-x86_64 does not have a valid architecture')

I'm not sure what to do from here, because I was assuming that I was doing all of the architecture-dependent stuff when I built the packages on my x86 machine. Any thoughts on what I can do from here?

Best!
tmmd
 
Posts: 17
Joined: Sun Jan 19, 2020 3:34 am


Return to General

Who is online

Users browsing this forum: No registered users and 40 guests