OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

tradcpp-0.5.3

traditional (K&R-style) C preprocessor

Back to search · Project homepage

Description

tradcpp is a K&R-style ("traditional") C preprocessor. It was written to support historical uses of the C preprocessor for preprocessing things that aren't C, as the preprocessors that ship with C compilers are increasingly unsuitable for this task and/or don't provide a traditional mode at all. In particular, tradcpp preserves whitespace as much as possible, so it can be used in contexts where whitespace is significant and/or rearranging whitespace causes things to break, such as makefiles. Preprocessing makefiles with cpp is a fairly common property of sufficiently old legacy build systems, including old versions of Emacs and anything that uses imake.

Package information

Ports path
devel/tradcpp
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Used by (2 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON