Automic VaultAutomic Vault

brew

使用 Homebrew, apk, pacman, zypper 安装 crosstool-ng

查看 crosstool-ng 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install crosstool-ng

local Homebrew formula metadata

概览

软件包摘要

Tool for building toolchains

命令和别名

  • ct-ng

历史

项目历史与用法

crosstool-NG is a configurable toolchain builder focused on producing cross-compilation toolchains. It is a package-nerd staple because it automates the otherwise tedious assembly of binutils, GCC, C libraries, kernel headers, debuggers, and target-specific patches.

项目历史

The project traces its lineage to Dan Kegel's original crosstool scripts, patch repository, and prepared configuration files. Yann E. Morin later reorganized that work, added uClibc and menu-driven configuration support, and released the new implementation as crosstool-NG, short for crosstool Next Generation.

The official documentation says Yann Morin became busy with Buildroot and other projects in late 2014, after which Bryan Hundven became the new maintainer. The GitHub README also records older Mercurial repositories as read-only and points current development to GitHub.

采用历史

crosstool-NG grew around embedded Linux and cross-compilation communities, where prebuilt toolchains are often either too generic, too old, or mismatched to a target. Its documentation keeps a direct connection to the crossgcc mailing list and to projects such as Buildroot, ptxdist, and OpenEmbedded.

使用方式

Users configure crosstool-NG through a Linux-kernel-style menuconfig flow, producing a `.config` file that controls target architecture, component versions, installation prefix, samples, and options. Typical workflows start from a sample tuple, run `ct-ng menuconfig`, and then build a native, cross, cross-native, or Canadian Cross toolchain.

Because `ct-ng` is implemented as a make script, the project is familiar to source-based packaging users: it downloads and builds upstream components, applies version-specific patches, and installs an isolated toolchain such as under `/opt/x-tools/${CT_TARGET}`.

为什么软件包爱好者会关心

crosstool-NG matters in package history because it turns a compiler stack into a reproducible configurable artifact. It sits between full root filesystem builders and ad hoc compiler builds: unlike Buildroot or OpenEmbedded, its stated target is only the toolchain, leaving the resulting compiler usable by other build systems and package workflows.

时间线

  • 2000s: Dan Kegel's crosstool provides the precursor scripts and patches
  • 2000s: Yann E. Morin releases crosstool-NG with uClibc and menu-driven configuration support
  • 2014: Bryan Hundven becomes maintainer
  • 2025: crosstool-ng 1.28.0 release

Related projects

  • The documentation compares crosstool-NG with Buildroot, ptxdist, and OpenEmbedded, and credits the original crosstool project as its direct ancestor.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 18 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.config

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ct-ngcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.28.0
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/crosstool-ng/crosstool-ng

安装元数据

软件包元数据

软件包键brew:crosstool-ng
版本1.28.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/crosstool-ng
主页https://crosstool-ng.github.io/
仓库https://github.com/crosstool-ng/crosstool-ng
上游文档https://crosstool-ng.github.io/docs
许可证GPL-2.0-only
源码归档https://github.com/crosstool-ng/crosstool-ng/releases/download/crosstool-ng-1.28.0/crosstool-ng-1.28.0.tar.xz
最后更新2026-06-22T14:03:06-07:00
Pulseupdated
依赖autoconf, automake, bash, binutils, bison, coreutils, flex, gawk, gettext, gnu-sed, grep, libtool, lzip, m4, make, ncurses, python@3.14, xz
构建依赖help2man, texinfo
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecrosstool-ng
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

apk95%

crosstool-ng 1.28.0-r1

Versatile tool for building (cross-)toolchains

https://crosstool-ng.github.io/

sudo apk add crosstool-ng
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND CC-BY-SA-2.5
  • Architecture: x86_64
  • Source Package: crosstool-ng
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Crosstool Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: crosstool-ng from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

crosstool-ng-bash-completion 1.28.0-r1

Bash completions for crosstool-ng

https://crosstool-ng.github.io/

sudo apk add crosstool-ng-bash-completion
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND CC-BY-SA-2.5
  • Architecture: x86_64
  • Source Package: crosstool-ng
  • normalized package name match
  • 匹配方式:Crosstool Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: crosstool-ng-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

crosstool-ng-doc 1.28.0-r1

Versatile tool for building (cross-)toolchains (documentation)

https://crosstool-ng.github.io/

sudo apk add crosstool-ng-doc
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND CC-BY-SA-2.5
  • Architecture: x86_64
  • Source Package: crosstool-ng
  • normalized package name match
  • 匹配方式:Crosstool Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: crosstool-ng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

crosstool-ng 1.28.0-1

A versatile (cross-)toolchain generator

https://crosstool-ng.github.io/

sudo pacman -S crosstool-ng
  • License: CC-BY-SA-2.5 AND GPL-2.0-only AND LGPL-2.1-only
  • Architecture: x86_64
  • 9 依赖
  • normalized package name match
  • 匹配方式:Crosstool Ng
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: crosstool-ng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

crosstool-ng 1.25.0-1.11

Toolchain building framework

http://crosstool-ng.org

sudo zypper install crosstool-ng
  • License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-only AND LGPL-3.0-or-later
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: crosstool-ng
  • 15 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Crosstool Ng
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: crosstool-ng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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