katahiromz / mcpp

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Other


Languages

Language:C 48.0%Language:HTML 29.7%Language:Shell 9.0%Language:Raku 5.1%Language:Makefile 3.8%Language:Perl 2.6%Language:M4 0.9%Language:Roff 0.3%Language:Terra 0.2%Language:Turing 0.2%Language:C++ 0.1%Language:Batchfile 0.0%