Skip to content

UTF-16 readable C preprocessor (A fork of mcpp 2.7.2)

License

Notifications You must be signed in to change notification settings

katahiromz/mcpp

Repository files navigation

mcpp by katahiromz

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).

How to build

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.

For more info...

See README-OLD.txt.

katayama.hirofumi.mz@gmail.com