Automic VaultAutomic Vault

brew

Install mcpp with Homebrew, apt, MacPorts, Nix, pacman, zypper

Alternative C/C++ preprocessor. Version 2.7.2 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mcpp

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mcpp

MacPorts ports tree · devel/mcpp/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libmcpp-dev

Debian stable package indexes · libmcpp-dev · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#mcpp

nixpkgs package indexes · pkgs/by-name/mc/mcpp/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S mcpp

Arch Linux sync databases · mcpp · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libmcpp0

openSUSE Tumbleweed package metadata · libmcpp0 · source: download.opensuse.org

overview

Package summary

Alternative C/C++ preprocessor

Commands and aliases

  • mcpp

history

Project history and usage

mcpp is a portable C/C++ preprocessor and validation suite by Kiyoshi Matsui. The official site describes it as an independent preprocessor that implements C90, C99, and C++98 preprocessing behavior, provides diagnostics, and can be built as a compiler-specific preprocessor, a compiler-independent command, or a subroutine library.

Project history

The project was created to address portability and conformance problems in traditional compiler-bundled preprocessors. Its official homepage says mcpp was selected for Japan IPA's Exploratory Software Projects in both 2002 and 2003.

The public SourceForge-hosted project surface dates from April 2006, and the official homepage lists V.2.7.2 from November 2008 as the latest release.

Adoption history

mcpp was packaged both as upstream binary archives and by operating-system distributions. The official download page documents FreeBSD, Linux RPM and deb, Mac OS X, and Windows packages, and separately notes distribution packages for Fedora, Debian, Ubuntu, OpenSUSE, Gentoo, Slackware, and MacPorts.

Distribution packaging split the executable, shared library, development files, and documentation on Fedora and Debian-family systems, which made mcpp useful as a reusable compiler-toolchain component rather than only as a standalone command.

How it is used

The command-line program is installed as `mcpp`. The official download page points users to the bundled manual and explains that source archives include source code, a validation suite, and English and Japanese documentation.

Typical package-manager usage is installing a small preprocessor tool or library for C/C++ toolchains, conformance testing, macro debugging, or historical build compatibility.

Why package nerds care

mcpp matters to package nerds because it is a small compiler component that was packaged independently of a full compiler. Its history includes classic Unix packaging patterns: source tarballs, RPMs, debs, ports, a shared library package, development headers, and documentation packages.

It is also a useful example of an important package whose official presence is an old project homepage and release archive rather than a modern canonical Git repository.

Timeline

  • 2002: Selected for IPA Exploratory Software Projects.
  • 2003: Selected again for IPA Exploratory Software Projects.
  • 2006-04: Project located on SourceForge.
  • 2008-11: V.2.7.2 released.

Related projects

  • mcpp is related to GCC, Visual C++, C and C++ compiler toolchains, and distribution packages such as `mcpp`, `libmcpp`, `libmcpp-dev`, and `mcpp-doc`.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mcppcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.7.2
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

https://mcpp.sourceforge.net/

install metadata

Package metadata

Package keybrew:mcpp
Version2.7.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mcpp
Homepagehttps://mcpp.sourceforge.net/
Upstream docshttps://mcpp.sourceforge.net/
LicenseBSD-2-Clause
Source archivehttps://downloads.sourceforge.net/project/mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz
Last updated2026-06-19T12:32:39-07:00
Pulseupdated
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemcpp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libmcpp-dev 2.7.2-5.2

Alternative C/C++ preprocessor (development files)

http://mcpp.sourceforge.net/

sudo apt install libmcpp-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mcpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Mcpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmcpp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmcpp0 2.7.2-5.2

Alternative C/C++ preprocessor (shared library)

http://mcpp.sourceforge.net/

sudo apt install libmcpp0
  • Section: libs
  • Architecture: amd64
  • Source Package: mcpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Mcpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmcpp0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mcpp 2.7.2-5.2

Alternative C/C++ preprocessor

http://mcpp.sourceforge.net/

sudo apt install mcpp
  • Section: devel
  • Architecture: amd64
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Mcpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mcpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mcpp-doc 2.7.2-5.2

Alternative C/C++ preprocessor (manual)

http://mcpp.sourceforge.net/

sudo apt install mcpp-doc
  • Section: doc
  • Architecture: all
  • Source Package: mcpp
  • normalized package name match
  • Matched by: Mcpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mcpp-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mcpp

nix profile install nixpkgs#mcpp
  • normalized package name match
  • Matched by: Mcpp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mc/mcpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmcpp-dev 2.7.2-5.1

Alternative C/C++ preprocessor (development files)

http://mcpp.sourceforge.net/

sudo apt install libmcpp-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mcpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Mcpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmcpp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmcpp0 2.7.2-5.1

Alternative C/C++ preprocessor (shared library)

http://mcpp.sourceforge.net/

sudo apt install libmcpp0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mcpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Mcpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmcpp0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mcpp 2.7.2-5.1

Alternative C/C++ preprocessor

http://mcpp.sourceforge.net/

sudo apt install mcpp
  • Section: universe/devel
  • Architecture: amd64
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Mcpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mcpp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mcpp-doc 2.7.2-5.1

Alternative C/C++ preprocessor (manual)

http://mcpp.sourceforge.net/

sudo apt install mcpp-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: mcpp
  • normalized package name match
  • Matched by: Mcpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mcpp-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

mcpp 2.7.2.3-1

Matsui's CPP implementation precisely conformed to standards

http://mcpp.sourceforge.net

sudo pacman -S mcpp
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Mcpp
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mcpp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libmcpp0 2.7.2.2-1.3

The shared library of Matsui's C Preprocessor

https://mcpp.sourceforge.net/

sudo zypper install libmcpp0
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: mcpp
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Mcpp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmcpp0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

mcpp 2.7.2.2-1.3

Matsui's C Preprocessor

https://mcpp.sourceforge.net/

sudo zypper install mcpp
  • License: BSD-3-Clause
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: mcpp
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mcpp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mcpp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

mcpp-devel 2.7.2.2-1.3

Development files for mcpp

https://mcpp.sourceforge.net/

sudo zypper install mcpp-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: mcpp
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mcpp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mcpp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

mcpp

sudo port install mcpp
  • normalized package name match
  • Matched by: Mcpp
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/mcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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