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

GNU compiler collection for riscv64-elf. Version 16.1.0 via Homebrew; verified from local package data. Also installable with pacman: sudo pacman -S riscv64-elf-gcc.

## 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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>
- **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>
- **Generated:** 2026-08-04T22:13:35+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-08-04
- Package-manager version: 16.1.0
- Local data: ok
- Upstream repository: https://gcc.gnu.org
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for riscv64-elf-gcc. 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+git10355-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc13 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc13-bootstrap - 13.4.1+git10355-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc13-bootstrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc14 - 14.4.0+git12698-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc14 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc14-bootstrap - 14.4.0+git12698-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc14-bootstrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc15 - 15.3.0+git11272-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc15-bootstrap - 15.3.0+git11272-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc15-bootstrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/
- zypper - cross-riscv64-elf-gcc16 - 16.1.1+git9481-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cross-riscv64-elf-gcc16 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The GNU Compiler Collection targeting riscv64 | https://gcc.gnu.org/


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [zstd](https://pkg.so/brew/zstd/) - Runtime dependency declared by Homebrew.
- [riscv64-elf-binutils](https://pkg.so/brew/riscv64-elf-binutils/) - Runtime dependency declared by Homebrew.
- [arm-none-eabi-gcc](https://pkg.so/brew/arm-none-eabi-gcc/) - Shares the same upstream homepage.
- [x86_64-elf-gcc](https://pkg.so/brew/x86-64-elf-gcc/) - Shares the same upstream homepage.
- [aarch64-elf-gcc](https://pkg.so/brew/aarch64-elf-gcc/) - Shares the same upstream homepage.
- [i686-elf-gcc](https://pkg.so/brew/i686-elf-gcc/) - Shares the same upstream homepage.
- [m68k-elf-gcc](https://pkg.so/brew/m68k-elf-gcc/) - Shares the same upstream homepage.
- [mingw-w64](https://pkg.so/brew/mingw-w64/) - Shares pkgdb curated category or tags: cli, cross-compilation, developer-tools, gcc, toolchain.
- [arm-linux-gnueabihf-binutils](https://pkg.so/brew/arm-linux-gnueabihf-binutils/) - Shares pkgdb curated category or tags: cli, cross-compilation, developer-tools, gnu, toolchain.
- [riscv64-elf-gdb](https://pkg.so/brew/riscv64-elf-gdb/) - Shares pkgdb curated category or tags: cli, developer-tools, gnu, riscv, toolchain.

## Combined YAML source

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


## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
