# tradcpp mit Homebrew, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für tradcpp in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:tradcpp
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install tradcpp
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tradcpp
```

  Evidenz: MacPorts ports tree: devel/tradcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tradcpp
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/tr/tradcpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:tradcpp
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/tradcpp>
- **Version:** 0.5.3
- **Quellzusammenfassung:** K&R-style C preprocessor
- **Homepage:** <https://www.netbsd.org/~dholland/tradcpp/>
- **Repository:** <https://www.netbsd.org/~dholland/hg/tradcpp>
- **Upstream-Dokumentation:** <https://www.netbsd.org/~dholland/tradcpp>
- **Lizenz:** BSD-2-Clause
- **Quellarchiv:** <https://cdn.netbsd.org/pub/NetBSD/misc/dholland/tradcpp-0.5.3.tar.gz>
- **Generiert:** 2026-07-08T07:18:31+00:00

## Executables

- tradcpp (cli)
- tradcpp (Alias)

## Build-Abhängigkeiten

- bmake

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 0.5.3
- lokale Daten: OK
- Upstream-Repository: https://www.netbsd.org/~dholland/tradcpp/
- Info: No package-manager update timestamp was available.
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

tradcpp is a small traditional, K&R-style C preprocessor maintained from David Holland's NetBSD pages. Its history is tied less to compiling C and more to preserving old build techniques that used cpp as a general text preprocessor.

### Projektgeschichte

The official tradcpp page says the tool was written for historical uses of the C preprocessor on non-C input, because modern compiler-bundled preprocessors increasingly do not provide a traditional mode or preserve the behavior old build systems expect. The project deliberately keeps a narrow scope and does not try to become a full modern C89/C99/C11 preprocessor.

A distinctive implementation goal is whitespace preservation. The author calls out makefiles, old Emacs build logic, and imake as examples where rearranging whitespace can break legacy systems. tradcpp also includes a trace mode for diagnosing complex preprocessor use; the page says it was written to investigate an imake problem on Solaris.

### Adoptionsgeschichte

The most explicit adoption history is in pkgsrc: the official page says pkgsrc, the NetBSD package system, has used tradcpp for these purposes since 2013. That makes tradcpp a package-system support tool rather than a broad end-user application.

### Wie es verwendet wird

In package-manager culture, tradcpp is used when a build recipe needs a traditional cpp that preserves old preprocessing behavior for files such as makefiles. Users are explicitly steered away from using it for normal modern C code.

### Warum Paket-Nerds sich dafür interessieren

tradcpp matters to package nerds because it is infrastructure for keeping old source packages buildable. It represents the unglamorous compatibility layer a portability framework like pkgsrc sometimes needs when upstream build systems rely on historical Unix behavior.

### Zeitleiste

- 2013: pkgsrc begins using tradcpp for legacy preprocessing use cases.
- Current official release: tradcpp 0.5.3 is listed on the NetBSD-hosted project page.

### Related projects

- pkgsrc uses tradcpp for package builds with legacy preprocessing needs.
- imake and old Emacs build systems are named by the author as examples of the historical cpp usage tradcpp was designed to support.

### Quellen

- <https://www.netbsd.org/~dholland/tradcpp - official project page describing purpose, pkgsrc use since 2013, trace mode, release, and Mercurial repository.>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Nix - tradcpp: normalized package name match | nixpkgs package indexes: pkgs/by-name/tr/tradcpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - tradcpp: normalized package name match | MacPorts ports tree: devel/tradcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [bmake](https://www.automicvault.com/de/pkg/brew/bmake/) - Build dependency declared by Homebrew.
- [imake](https://www.automicvault.com/de/pkg/brew/imake/) - Popular package that depends on this formula.
- [cdecl](https://www.automicvault.com/de/pkg/brew/cdecl/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [check](https://www.automicvault.com/de/pkg/brew/check/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [flatcc](https://www.automicvault.com/de/pkg/brew/flatcc/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [gnu-indent](https://www.automicvault.com/de/pkg/brew/gnu-indent/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [bsdmake](https://www.automicvault.com/de/pkg/brew/bsdmake/) - Shares av.db curated category or tags: bsd, cli, developer-tools.
- [colormake](https://www.automicvault.com/de/pkg/brew/colormake/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [compiledb](https://www.automicvault.com/de/pkg/brew/compiledb/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [cppi](https://www.automicvault.com/de/pkg/brew/cppi/) - Shares av.db curated category or tags: c-preprocessor, cli, developer-tools.

## Combined YAML source

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


## Quellen

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