relation between cccp and cppmain/cpplib

Dave Brolley brolley@cygnus.com
Thu Oct 22 13:59:00 GMT 1998


Ruslan Shevchenko wrote:

> Why two preprocessors (cccp and cppmain/cpplib) exists in sources ?
>
> What is difference between them and why two ones  needed ?

cccp is the default preprocessor and is used to create the cpp program by
default. cpplib is work in progress with the goal of someday replacing cccp.
Currently it can be built with cppmain to make cpp, and it can also be built
into the gcc and g++ front ends to eliminate the need for a separate cpp pass
when compiling. It is also used when building fix-header.

Dave Brolley




More information about the Gcc mailing list