mcpp
Alternative C/C++ preprocessor
Install
- All systems
-
curl cmd.cat/mcpp.sh
- Debian
-
apt-get install mcpp
- Ubuntu
-
apt-get install mcpp
- Alpine
-
apk add mcpp
- Arch Linux
-
pacman -S mcpp
- Kali Linux
-
apt-get install mcpp
- CentOS
-
yum install mcpp
- Fedora
-
dnf install mcpp
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install mcpp
- OS X
-
brew install mcpp
- Raspbian
-
apt-get install mcpp
- Dockerfile
- dockerfile.run/mcpp
- Docker
-
docker run cmd.cat/mcpp mcpp
powered by Commando
mcpp
Alternative C/C++ preprocessor
C/C++ preprocessor defines and expands macros and processes '#if', '#include' and some other directives. mcpp is an alternative C/C++ preprocessor with the highest conformance. It supports multiple standards: K&R, ISO C90, ISO C99, and ISO C++98. mcpp is especially useful for debugging a source program which uses complicated macros and also useful for checking portability of a source. Though mcpp could be built as a replacement of GCC's resident preprocessor or as a stand-alone program without using library build of mcpp, this package installs only a program named 'mcpp' which links shared library of mcpp and behaves independent from GCC.