Automic VaultAutomic Vault

brew

Installer x86_64-elf-gcc avec Homebrew, MacPorts

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de x86_64-elf-gcc pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install x86_64-elf-gcc

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install x86_64-elf-gcc

MacPorts ports tree · cross/x86_64-elf-gcc/Portfile · Source: api.github.com

aperçu

Résumé du paquet

GNU compiler collection for x86_64-elf

Commandes et alias

  • x86_64-elf-c++
  • x86_64-elf-cpp
  • x86_64-elf-g++
  • x86_64-elf-gcc
  • x86_64-elf-gcc-16.1.0
  • x86_64-elf-gcc-ar
  • x86_64-elf-gcc-nm
  • x86_64-elf-gcc-ranlib
  • x86_64-elf-gcov
  • x86_64-elf-gcov-dump
  • x86_64-elf-gcov-tool
  • x86_64-elf-lto-dump

historique

Historique du projet et usages

x86_64-elf-gcc is GCC built as a cross compiler for the `x86_64-elf` target. Its package role is not to be a separate compiler project, but to provide the GNU Compiler Collection configured for freestanding 64-bit x86 ELF output without assuming the host operating system's headers, C library, startup files, or ABI conventions.

That makes it a standard tool for operating-system kernels, bootloaders, freestanding runtimes, and bare-metal experiments. It usually works together with `x86_64-elf-binutils`, which supplies the matching target assembler, linker, and object-file tools.

Historique du projet

GCC began as the GNU C Compiler, written for the GNU operating system and first released in 1987. It later expanded into the GNU Compiler Collection, with official front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, Algol 68, and related runtime libraries documented by the GCC project.

The GCC governance and release story also matters to cross packages. GCC's 2.95 release in July 1999 was the first after the GCC/EGCS reunification, and the project has since been maintained by a global developer community under a steering committee. The modern GCC site emphasizes regular releases that work across native and cross targets.

Historique d'adoption

Cross compilation has been central to GCC's identity because GCC supports many processors and systems. The official GCC homepage explicitly says the project aims for releases that work on a variety of native and cross targets, while OSDev documentation explains why hobby OS and kernel developers build target-specific GCCs instead of relying on the host compiler.

For `x86_64-elf`, adoption is concentrated in OSDev and freestanding x86-64 work. The target prefix lets build systems call `x86_64-elf-gcc` and get code-generation defaults for x86-64 ELF rather than the host triple. OSDev guidance also notes that a target-specific compiler removes the need to pass host-overriding options such as `-m64` for every build.

Modes d'utilisation

Typical users compile freestanding C or C++ with options such as `-ffreestanding`, link with a custom linker script, and provide their own runtime entry point instead of relying on a hosted C library. The compiler may also be used as the driver for assembly and linking so it selects the matching target Binutils tools.

In kernel work, x86-64 has hardware and ABI details that package users must understand beyond simply choosing this compiler. OSDev material commonly calls out issues such as separate 32-bit and 64-bit toolchains, bootloader expectations, and x86-64 red-zone behavior; the package gives the target compiler, but the build still has to define the freestanding environment correctly.

Pourquoi les passionnés de paquets s'y intéressent

x86_64-elf-gcc is important because it packages the first serious bootstrap hurdle of hobby OS development. Instead of every user manually building a cross GCC, the package provides a stable prefixed compiler that can be dropped into Makefiles and tutorials.

It is also a clear example of how package names can describe configuration rather than upstream identity. The upstream is GCC; the meaningful package distinction is the target triple, which changes what the compiler assumes about object format, runtime, and operating-system services.

Chronologie

  • 1987-03-22: GCC 1.0 is first released as the GNU C Compiler.
  • 1999-04: The EGCS steering committee is appointed as the official GCC maintainer after the GCC/EGCS reunification process.
  • 1999-07-31: GCC 2.95 is released as the first GCC release after GCC/EGCS reunification.
  • 2000s: OSDev communities popularize target-prefixed GCC cross compilers such as `i686-elf-gcc` and later `x86_64-elf-gcc` for freestanding kernels.
  • 2026-04-30: GCC 16.1 is released, and the GCC homepage lists ongoing support for native and cross targets.

Related projects

  • GNU Binutils provides the assembler, linker, and object tools required by a matching `x86_64-elf` GCC toolchain.
  • GDB is commonly built as a target-aware debugger alongside cross GCC and Binutils.
  • Newlib and other small C libraries are used when a freestanding cross compiler grows into a hosted embedded or OS-specific toolchain.
  • LLVM/Clang can also target freestanding x86-64 ELF workflows, often with `lld` and LLVM binary tools.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 5 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
x86_64-elf-c++cliexécutable global
x86_64-elf-cppcliexécutable global
x86_64-elf-g++cliexécutable global
x86_64-elf-gcccliexécutable global
x86_64-elf-gcc-16.1.0cliexécutable global
x86_64-elf-gcc-arcliexécutable global
x86_64-elf-gcc-nmcliexécutable global
x86_64-elf-gcc-ranlibcliexécutable global
x86_64-elf-gcovcliexécutable global
x86_64-elf-gcov-dumpcliexécutable global
x86_64-elf-gcov-toolcliexécutable global
x86_64-elf-lto-dumpcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire16.1.0
gestionnaire mis à jour2026-05-01
données localesOK
amontnot checked
dernière version détectéenon détecté

https://gcc.gnu.org

  • infoRelease/tag comparison is only available for GitHub repositories.https://gcc.gnu.orgconfiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:x86_64-elf-gcc
Version16.1.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/x86_64-elf-gcc
Page d'accueilhttps://gcc.gnu.org
Dépôthttps://gcc.gnu.org/git/gcc.git
Docs amonthttps://gcc.gnu.org/
LicenceGPL-3.0-or-later WITH GCC-exception-3.1
Archive sourcehttps://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz
Dernière mise à jour2026-05-01T04:23:32Z
Pulseupdated
Dépendancesgmp, libmpc, mpfr, x86_64-elf-binutils, zstd
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namex86_64-elf-gcc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

MacPorts95%

x86_64-elf-gcc

sudo port install x86_64-elf-gcc
  • normalized package name match
  • Correspondance par : X86 64 Elf Gcc
MacPorts ports tree · api.github.com · MacPorts ports tree: cross/x86_64-elf-gcc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

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