This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: relation between cccp and cppmain/cpplib
- To: rssh at grad dot kiev dot ua
- Subject: Re: relation between cccp and cppmain/cpplib
- From: Dave Brolley <brolley at cygnus dot com>
- Date: Thu, 22 Oct 1998 14:12:52 -0400
- CC: egcs at cygnus dot com
- Organization: Cygnus Solutions Canada Ltd
- References: <362F28BA.D54E4168@Shevchenko.Kiev.UA>
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