riscv64-unknown-elf-gcc on AUR (Arch User Repository)

Last updated: September 28,2024

1. Install "riscv64-unknown-elf-gcc" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install riscv64-unknown-elf-gcc on Arch using YAY

$ yay -S riscv64-unknown-elf-gcc

* (Optional) Uninstall riscv64-unknown-elf-gcc on Arch using YAY

$ yay -Rns riscv64-unknown-elf-gcc

2. Manually Install "riscv64-unknown-elf-gcc" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone riscv64-unknown-elf-gcc's git locally

$ git clone https://aur.archlinux.org/riscv64-unknown-elf-gcc.git ~/riscv64-unknown-elf-gcc

c. Go to ~/riscv64-unknown-elf-gcc folder and install it

$ cd ~/riscv64-unknown-elf-gcc $ makepkg -si

3. Information about the riscv64-unknown-elf-gcc package on Arch User Repository (AUR)

ID: 1422745
Name: riscv64-unknown-elf-gcc
PackageBaseID: 125471
PackageBase: riscv64-unknown-elf-gcc
Version: 13.2.0-2
Description: The GNU Compiler Collection - cross compiler for 32bit and 64bit RISC-V bare-metal
URL: http://gcc.gnu.org/
NumVotes: 7
Popularity: 0.026853
OutOfDate:
Maintainer: Maxr1998
Submitter: esmil
FirstSubmitted: 1505044747
LastModified: 1709846833
URLPath: /cgit/aur.git/snapshot/riscv64-unknown-elf-gcc.tar.gz