# Install riscv64-elf-gcc with Homebrew, pacman, zypper

GNU compiler collection for riscv64-elf. Version 16.1.0 via Homebrew; verified 2026-05-01.

## Install

```sh
sudo av install brew:riscv64-elf-gcc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install riscv64-elf-gcc
```

  Evidence: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S riscv64-elf-gcc
```

  Evidence: Arch Linux sync databases: riscv64-elf-gcc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install cross-riscv64-elf-gcc13
```

  Evidence: openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc13 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:riscv64-elf-gcc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/riscv64-elf-gcc>
- **Version:** 16.1.0
- **Source summary:** GNU compiler collection for riscv64-elf
- **Homepage:** <https://gcc.gnu.org>
- **Repository:** <https://gcc.gnu.org/git?p=gcc.git>
- **Upstream docs:** <https://gcc.gnu.org/>
- **License:** GPL-3.0-or-later WITH GCC-exception-3.1
- **Source archive:** <https://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz>
- **Last updated:** 2026-05-01T04:37:10Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- riscv64-elf-c++ (cli)
- riscv64-elf-cpp (cli)
- riscv64-elf-g++ (cli)
- riscv64-elf-gcc (cli)
- riscv64-elf-gcc-16.1.0 (cli)
- riscv64-elf-gcc-ar (cli)
- riscv64-elf-gcc-nm (cli)
- riscv64-elf-gcc-ranlib (cli)
- riscv64-elf-gcov (cli)
- riscv64-elf-gcov-dump (cli)
- riscv64-elf-gcov-tool (cli)
- riscv64-elf-lto-dump (cli)
- riscv64-elf-c++ (alias)
- riscv64-elf-cpp (alias)
- riscv64-elf-g++ (alias)
- riscv64-elf-gcc (alias)
- riscv64-elf-gcc-16.1.0 (alias)
- riscv64-elf-gcc-ar (alias)
- riscv64-elf-gcc-nm (alias)
- riscv64-elf-gcc-ranlib (alias)
- riscv64-elf-gcov (alias)
- riscv64-elf-gcov-dump (alias)
- riscv64-elf-gcov-tool (alias)
- riscv64-elf-lto-dump (alias)

## Dependencies

- gmp
- libmpc
- mpfr
- riscv64-elf-binutils
- zstd

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 16.1.0
- Package-manager updated: 2026-05-01
- Local data: ok
- Upstream repository: https://gcc.gnu.org
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for riscv64-elf-gcc. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** riscv64-elf-gcc
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- pacman - riscv64-elf-gcc - 15.2.0-1: normalized package name match | Arch Linux sync databases: riscv64-elf-gcc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The GNU Compiler Collection - cross compiler for RISCV64 (bare-metal) target | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc13 - 13.4.1+git10254-1.2: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc13 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc13-bootstrap - 13.4.1+git10254-1.2: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc13-bootstrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc14 - 14.3.1+git12513-1.2: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc14 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc14-bootstrap - 14.3.1+git12513-1.2: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc14-bootstrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc15 - 15.2.1+git11263-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc15-bootstrap - 15.2.1+git11263-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc15-bootstrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc16 - 16.1.1+git8886-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc16 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/


## Related links

- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched curated package taxonomy and local package facts.
- [riscv64-elf-binutils](https://www.automicvault.com/pkg/brew/riscv64-elf-binutils/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [aarch64-elf-gcc](https://www.automicvault.com/pkg/brew/aarch64-elf-gcc/) - Shares the same upstream homepage.
- [arm-none-eabi-gcc](https://www.automicvault.com/pkg/brew/arm-none-eabi-gcc/) - Shares the same upstream homepage.
- [i686-elf-gcc](https://www.automicvault.com/pkg/brew/i686-elf-gcc/) - Shares the same upstream homepage.
- [m68k-elf-gcc](https://www.automicvault.com/pkg/brew/m68k-elf-gcc/) - Shares the same upstream homepage.
- [x86_64-elf-gcc](https://www.automicvault.com/pkg/brew/x86-64-elf-gcc/) - Shares the same upstream homepage.

## Combined YAML source

View the package source record on GitHub. [combined/riscv64-elf-gcc.yml](https://github.com/automic-vault/db/blob/main/combined/riscv64-elf-gcc.yml)


## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
