macOS
brew install crosstool-nglocal Homebrew formula metadata
安装
brew install crosstool-nglocal Homebrew formula metadata
sudo apk add crosstool-ngAlpine Linux edge package indexes · crosstool-ng · 来源: dl-cdn.alpinelinux.org
sudo pacman -S crosstool-ngArch Linux sync databases · crosstool-ng · 来源: geo.mirror.pkgbuild.com
sudo zypper install crosstool-ngopenSUSE Tumbleweed package metadata · crosstool-ng · 来源: download.opensuse.org
概览
Tool for building toolchains
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
.config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ct-ng | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | crosstool-ng |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
crosstool-ng 1.28.0-r1
Versatile tool for building (cross-)toolchains
https://crosstool-ng.github.io/
sudo apk add crosstool-ngcrosstool-ng-bash-completion 1.28.0-r1
Bash completions for crosstool-ng
https://crosstool-ng.github.io/
sudo apk add crosstool-ng-bash-completioncrosstool-ng-doc 1.28.0-r1
Versatile tool for building (cross-)toolchains (documentation)
https://crosstool-ng.github.io/
sudo apk add crosstool-ng-doccrosstool-ng 1.28.0-1
A versatile (cross-)toolchain generator
https://crosstool-ng.github.io/
sudo pacman -S crosstool-ngcrosstool-ng 1.25.0-1.11
Toolchain building framework
sudo zypper install crosstool-ng来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.