This program is a C preprocessor written in C. And this is a fork of mcpp 2.7.2. The original author (Kiyoshi Matsui)'s software can be found at http://mcpp.sourceforge.net .
I enabled this program to read UTF-16/UTF-32 files. If UTF-16/UTF-32 files specified, then this program outputs UTF-8 text. It recognizes BOM (Byte Order Mark).
You need Linux-like environment to build this project. For Windows, use MSYS2
.
$ git clone --recursive https://github.com/katahiromz/mcpp.git
$ cd mcpp
$ ./configure
$ make
If you failed with error message like:
../libtool: line 930: X--tag=CC: command not found
...
Please replace this line in file libtool
:
ECHO="printf %s\\n"
with:
echo="echo"
and try make
again.
See README-OLD.txt
.