macOS
brew install gcc@15local Homebrew formula metadata
sudo port install gcc15MacPorts ports tree · lang/gcc15/Portfile · 来源: api.github.com
安装
brew install gcc@15local Homebrew formula metadata
sudo port install gcc15MacPorts ports tree · lang/gcc15/Portfile · 来源: api.github.com
sudo dnf install gcc15Fedora Rawhide package metadata · gcc15 · 来源: dl.fedoraproject.org
sudo pacman -S gcc15Arch Linux sync databases · gcc15 · 来源: geo.mirror.pkgbuild.com
sudo zypper install cpp15openSUSE Tumbleweed package metadata · cpp15 · 来源: download.opensuse.org
sudo apk add g++Alpine Linux edge package indexes · g++ · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#gccnixpkgs package indexes · gcc · 来源: raw.githubusercontent.com
scoop install main/gccScoop official bucket manifest trees · bucket/gcc.json · 来源: api.github.com
概览
GNU compiler collection
历史
GCC 15 is a versioned Homebrew package for the GCC 15 release series of the GNU Compiler Collection. It provides the GNU Project compiler suite under major-version-suffixed command names so it can coexist with other GCC lines and platform compilers.
GCC itself is one of the central free-software toolchains: the official project describes it as the GNU Compiler Collection, with front ends for C, C++, Objective-C, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68, plus runtime libraries such as libstdc++.
GCC began as the GNU C Compiler. The GCC project history records the first beta release on March 22, 1987, by Richard Stallman, originally for the GNU operating system and initially centered on C.
During the 1990s, GCC grew beyond C into a multi-language compiler suite. The official GCC 2.95 page notes that the name changed from GNU C Compiler to GNU Compiler Collection because the compiler supported several languages beyond C.
A major governance and development milestone was the EGCS fork in 1997, created to merge active GCC development work from several communities. GCC and EGCS were reunified in April 1999, and GCC 2.95 was the first release after that reunification.
GCC became widely adopted because it was both the GNU system compiler and an openly developed, portable optimizing compiler. The current mission statement emphasizes support for many platforms, many architectures, open mailing lists, and participation by individuals and companies.
The GCC 15 package represents package-manager demand for a stable major compiler series rather than only the newest compiler. Official release branches and tags make these major lines easy for distributors and users to pin, audit, and rebuild.
As packaged here, GCC 15 exposes version-suffixed compiler tools such as gcc-15, g++-15, cpp-15, gcov-15, and gfortran-15, depending on the platform package. This lets users select the intended compiler line explicitly in build scripts.
Official GCC installation documentation covers downloading sources, configuring, building, testing, and final installation, while the online manuals document compiler invocation, language front ends, runtime libraries, and toolchain options.
The GCC 15 change notes add package-visible changes such as incremental LTO support, multiple simultaneous diagnostic outputs, expanded OpenMP offload features, and an ISO COBOL compiler front end.
Versioned GCC packages matter because compilers are infrastructure, not leaf applications. A build may need a particular major GCC for language support, libstdc++ behavior, Fortran ABI expectations, sanitizer behavior, or target support, while another project on the same machine needs a different line.
The official Git repository page documents release branches and release tags, which is exactly the provenance package maintainers need when mapping formula names such as gcc@12 or gcc@15 to upstream source history.
安全态势
没有找到 gcc@15 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
x86_64-pc-linux-gnu-c++-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-g++-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-gcc-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-gcc-ar-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-gcc-nm-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-gcc-ranlib-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-gfortran-15 | cli | 全局可执行文件 | |
x86_64-pc-linux-gnu-gm2-15 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gcc@15 |
|---|---|
| 版本 | 15.3.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gcc@15 |
| 主页 | https://gcc.gnu.org/ |
| 仓库 | https://gcc.gnu.org/git/gcc.git |
| 上游文档 | https://gcc.gnu.org/faq.html |
| 许可证 | GPL-3.0-or-later WITH GCC-exception-3.1 |
| 源码归档 | https://ftpmirror.gnu.org/gnu/gcc/gcc-15.3.0/gcc-15.3.0.tar.xz |
| 最后更新 | 2026-06-27T22:14:17Z |
| Pulse | updated |
| 依赖 | gmp, isl, libmpc, mpfr, zstd |
| 构建依赖 | make |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 已定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc@15 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gcc15
sudo port install gcc15gcc15 15.2.1-7.fc45
Various compatibility compilers (C, C++, Fortran, ...)
sudo dnf install gcc15gcc15-c++ 15.2.1-7.fc45
C++ support for GCC 15 compatibility compiler
sudo dnf install gcc15-c++gcc15-gfortran 15.2.1-7.fc45
Fortran support for GCC 15 compatibility compiler
sudo dnf install gcc15-gfortrangcc15 15.2.1+r934+gbcd3e3ff5aa7-1
The GNU Compiler Collection - C and C++ frontends (15.x.x)
sudo pacman -S gcc15cpp15 15.2.1+git11263-1.1
The GCC Preprocessor
sudo zypper install cpp15gcc15 15.2.1+git11263-1.1
The GNU C Compiler and Support Files
sudo zypper install gcc15gcc15-32bit 15.2.1+git11263-1.1
The GNU C Compiler 32bit support
sudo zypper install gcc15-32bitgcc15-PIE 15.2.1+git11263-1.1
A default configuration to build all binaries in PIE mode
sudo zypper install gcc15-PIEgcc15-ada 15.2.1+git11263-1.1
GNU Ada Compiler Based on GCC (GNAT)
sudo zypper install gcc15-adagcc15-ada-32bit 15.2.1+git11263-1.1
GNU Ada Compiler Based on GCC (GNAT)
sudo zypper install gcc15-ada-32bitgcc15-c++ 15.2.1+git11263-1.1
The GNU C++ Compiler
sudo zypper install gcc15-c++gcc15-c++-32bit 15.2.1+git11263-1.1
The GNU C++ Compiler
sudo zypper install gcc15-c++-32bitgcc15-cobol 15.2.1+git11263-1.1
GNU GCC COBOL Compiler
sudo zypper install gcc15-cobolgcc15-d 15.2.1+git11263-1.1
GNU D Compiler
sudo zypper install gcc15-dgcc15-d-32bit 15.2.1+git11263-1.1
GNU D Compiler
sudo zypper install gcc15-d-32bit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.