macOS
brew install mcpplocal Homebrew formula metadata
sudo port install mcppMacPorts ports tree · devel/mcpp/Portfile · 来源: api.github.com
安装
brew install mcpplocal Homebrew formula metadata
sudo port install mcppMacPorts ports tree · devel/mcpp/Portfile · 来源: api.github.com
nix profile install nixpkgs#mcppnixpkgs package indexes · pkgs/by-name/mc/mcpp/package.nix · 来源: api.github.com
sudo pacman -S mcppArch Linux sync databases · mcpp · 来源: geo.mirror.pkgbuild.com
sudo zypper install mcppopenSUSE Tumbleweed package metadata · mcpp · 来源: download.opensuse.org
概览
Alternative C/C++ preprocessor
历史
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.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mcpp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mcpp |
|---|---|
| 版本 | 2.7.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mcpp |
| 主页 | https://mcpp.sourceforge.net/ |
| 上游文档 | https://mcpp.sourceforge.net/ |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://downloads.sourceforge.net/project/mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz |
| 最后更新 | 2026-06-19T12:32:39-07:00 |
| Pulse | updated |
| Bottle | 可用 (于 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-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mcpp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libmcpp-dev 2.7.2-5.2
Alternative C/C++ preprocessor (development files)
sudo apt install libmcpp-devlibmcpp0 2.7.2-5.2
Alternative C/C++ preprocessor (shared library)
sudo apt install libmcpp0mcpp 2.7.2-5.2
Alternative C/C++ preprocessor
sudo apt install mcppmcpp-doc 2.7.2-5.2
Alternative C/C++ preprocessor (manual)
sudo apt install mcpp-docmcpp
nix profile install nixpkgs#mcpplibmcpp-dev 2.7.2-5.1
Alternative C/C++ preprocessor (development files)
sudo apt install libmcpp-devlibmcpp0 2.7.2-5.1
Alternative C/C++ preprocessor (shared library)
sudo apt install libmcpp0mcpp 2.7.2-5.1
Alternative C/C++ preprocessor
sudo apt install mcppmcpp-doc 2.7.2-5.1
Alternative C/C++ preprocessor (manual)
sudo apt install mcpp-docmcpp 2.7.2.3-1
Matsui's CPP implementation precisely conformed to standards
sudo pacman -S mcpplibmcpp0 2.7.2.2-1.3
The shared library of Matsui's C Preprocessor
sudo zypper install libmcpp0mcpp 2.7.2.2-1.3
Matsui's C Preprocessor
sudo zypper install mcppmcpp-devel 2.7.2.2-1.3
Development files for mcpp
sudo zypper install mcpp-develmcpp
sudo port install mcpp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.