This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: relation between cccp and cppmain/cpplib



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]