# 使用 Homebrew 安装 zxcc

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

## 安装

```sh
sudo av install brew:zxcc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zxcc
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:zxcc
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zxcc>
- **版本:** 0.5.7
- **来源摘要:** CP/M 2/3 emulator for cross-compiling and CP/M tools under UNIX
- **主页:** <https://www.seasip.info/Unix/Zxcc/>
- **仓库:** <https://github.com/agn453/ZXCC>
- **上游文档:** <https://www.seasip.info/Unix/Zxcc>
- **许可证:** GPL-2.0-or-later AND LGPL-2.0-or-later
- **源码归档:** <https://www.seasip.info/Unix/Zxcc/zxcc-0.5.7.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- zxas (cli)
- zxcc (cli)
- zxlibr (cli)
- zxlink (cli)
- zxas (别名)
- zxcc (别名)
- zxlibr (别名)
- zxlink (别名)

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.5.7
- 本地数据: OK
- 上游仓库: https://www.seasip.info/Unix/Zxcc/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ZXCC is John Elliott's CP/M 2/3 emulator for Unix-style cross-development: it runs CP/M tools such as HI-TECH C and Digital Research build utilities while mapping host directories into CP/M drives.

### 项目历史

The original ZXCC page describes a two-purpose emulator: using HI-TECH C for CP/M as a cross-compiler under Unix, and running CP/M build tools such as MAC, RMAC, GENCOM, and LINK under DOS or Unix. The stable 0.5.7 source bundled CPMIO for terminal emulation and CPMREDIR for host-filesystem redirection.

A later community-maintained GitHub repository was extracted from Elliott's stable source in 2021. That tree focuses on keeping ZXCC useful on modern Windows, Linux, Unix, and macOS systems, with fixes for HI-TECH Z80 C, CP/M BDOS behavior, Z80 instruction emulation, file tracking, and autotools builds.

### 采用历史

ZXCC's adoption is narrow but durable: retrocomputing developers use it when the authentic CP/M compiler or assembler is part of the build, but they want modern host files, scripts, editors, and CI around it. Its wrappers such as zxc, zxas, zxlink, and zxlibr turn CP/M-era tools into commands that fit a Unix workflow.

### 使用方式

The key trick is BDOS-level emulation rather than a full machine emulator. CPMREDIR presents host directories as CP/M drives, so tools running under the emulator can read and write normal files. That makes ZXCC especially practical for rebuilding old CP/M software, running HI-TECH C, and using Digital Research toolchains from a modern shell.

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

ZXCC is package-nerd catnip because it packages a bridge between package-manager convenience and historical toolchains. Installing it gives modern systems command-line access to a CP/M development environment without booting a full vintage machine image.

### 时间线

- 2013: John Elliott's ZXCC page lists stable 0.5.7 and older 0.4.0 downloads.
- 2021: The agn453/ZXCC repository is extracted from the stable 0.5.7 source.
- 2021-2025: Community updates improve HI-TECH C compatibility, Z80 emulation correctness, Windows support, and modern Unix/macOS builds.

### Related projects

- HI-TECH Z80 C: the CP/M compiler ZXCC commonly wraps for cross-compilation.
- CPMIO and CPMREDIR: the terminal and filesystem libraries split out from ZXCC's functionality.
- JOYCE: John Elliott's PCW emulator, which also used CPMREDIR.

### 来源

- <https://github.com/agn453/ZXCC>
- <https://superuser.com/questions/516833/emulating-cp-m-under-linux>
- <https://www.seasip.info/Unix/Zxcc/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zxcc
- **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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [bochs](https://www.automicvault.com/zh-hans/pkg/brew/bochs/) - Shares av.db curated category or tags: cli, developer-tools, emulation, emulator.
- [crosstool-ng](https://www.automicvault.com/zh-hans/pkg/brew/crosstool-ng/) - Shares av.db curated category or tags: build-tools, cli, cross-compilation, developer-tools.
- [wy60](https://www.automicvault.com/zh-hans/pkg/brew/wy60/) - Shares av.db curated category or tags: cli, developer-tools, emulation.
- [aarch64-elf-binutils](https://www.automicvault.com/zh-hans/pkg/brew/aarch64-elf-binutils/) - Shares av.db curated category or tags: build-tools, cli, cross-compilation, developer-tools.
- [aarch64-elf-gcc](https://www.automicvault.com/zh-hans/pkg/brew/aarch64-elf-gcc/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [arm-linux-gnueabihf-binutils](https://www.automicvault.com/zh-hans/pkg/brew/arm-linux-gnueabihf-binutils/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [arm-none-eabi-binutils](https://www.automicvault.com/zh-hans/pkg/brew/arm-none-eabi-binutils/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [arm-none-eabi-gcc](https://www.automicvault.com/zh-hans/pkg/brew/arm-none-eabi-gcc/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [compiledb](https://www.automicvault.com/zh-hans/pkg/brew/compiledb/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, compilation, developer.

## Combined YAML source

View the package source record on GitHub. [combined/zxcc.yml](https://github.com/automic-vault/db/blob/main/combined/zxcc.yml)


## 来源

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