# 使用 Homebrew, dnf 安装 lwtools

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

## 安装

```sh
sudo av install brew:lwtools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lwtools
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install lwtools
```

  证据: Fedora Rawhide package metadata: lwtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:lwtools
- **软件包管理器:** Homebrew
- **版本:** 4.25
- **来源摘要:** Cross-development tools for Motorola 6809 and Hitachi 6309
- **主页:** <https://www.lwtools.ca/>
- **最后更新:** 2026-07-19T01:08:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- lwar (别名)
- lwasm (别名)
- lwcc-cpp (别名)
- lwlink (别名)
- lwobjdump (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.25
## 项目历史与用法

LWTOOLS is a cross-development toolchain for Motorola 6809 and Hitachi 6309 systems. It includes the LWASM assembler, LWLINK linker, LWAR archiver, object-dump tooling, and related support for raw binaries, CoCo LOADM/DECB formats, object files, and later linking.

### 项目历史

The official homepage says LWTOOLS began in 2006 when William Astle wanted an assembler with features missing from the alternatives available for his Color Computer 3 operating-system work. The manual history says LWASM grew out of that need for macros and correct forward-reference handling, with LWASM 1.0 released in October 2008.

As the operating-system project grew, assembling everything through a single source file became impractical. That led to object-file support in LWASM and the LWLINK project. The homepage records the first combined LWTOOLS release on January 29, 2009 after separate LWASM and LWLINK releases.

### 采用历史

LWTOOLS adoption is concentrated in retrocomputing and 6809/6309 cross-development communities rather than broad mainstream package use. It is packaged by Homebrew and Fedora-family packaging, and the official homepage provides source releases, contributed binaries, and an active Mercurial repository.

The upstream release list shows continued maintenance through LWTOOLS 4.24 in April 2025, while the Mercurial log showed new toolchain and GCC 6809-related commits in June 2026.

### 使用方式

The usual source build is simply `make` at the top of the source tree, with binaries produced in the lwasm, lwlink, and lwar directories and installed with `make install`. The manual documents output formats including raw binaries, DECB binaries, ASCII hex, Motorola S-record, Intel Hex, OS-9 modules, and object files.

Typical package-manager users install it to obtain `lwasm`, `lwlink`, `lwar`, and related inspection tools for assembling and linking 6809/6309 programs on a modern host.

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

LWTOOLS is package-nerd significant as a maintained retro cross-toolchain with a narrow but serious audience. It packages old-CPU development knowledge into normal Unix build/install conventions, which is exactly the kind of niche tool that package managers keep discoverable.

### 时间线

- 2006: LWASM work begins for Color Computer 3 operating-system development.
- 2008: LWASM 1.0 released.
- 2009: Initial combined LWTOOLS release published.
- 2025: LWTOOLS 4.24 release published.
- 2026: Official Mercurial repository shows active commits.

### Related projects

- LWASM is the assembler component.
- LWLINK is the linker component.
- LWAR is the archiver component.
- gcc6809-related patches and scripts appear in the upstream Mercurial history.

### 来源

- <http://lwtools.projects.l-w.ca/hg>
- <https://www.lwtools.ca/>
- <https://www.lwtools.ca/manual/manual.html>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- dnf - lwtools - 4.24-4.fc45: normalized package name match | Fedora Rawhide package metadata: lwtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Cross-development tool chain for Motorola 6809 and Hitachi 6309 | http://www.lwtools.ca/
- dnf - lwtools-doc - 4.24-4.fc45: normalized package name match | Fedora Rawhide package metadata: lwtools-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for the LWTOOLS cross-development tool chain | http://www.lwtools.ca/


## Combined YAML source

View the package source record on GitHub. [combined/lwtools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lwtools.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
