This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: merging cccp and cpplib
- To: rms at gnu dot org
- Subject: Re: merging cccp and cpplib
- From: Per Bothner <bothner at cygnus dot com>
- Date: Mon, 07 Dec 1998 19:41:48 -0800
- cc: eggert at twinsun dot com, martin at mira dot isdn dot cs dot tu-berlin dot de, ian at airs dot com, egcs-bugs at cygnus dot com, gcc2 at gnu dot org
> Please keep in mind that compiling C is only one of the uses of the C
> preprocessor.
Right. That is why cpplib can be linked with cppmain, which is meant to be
a stand-alone plug-in replacement for cpp.
However, copiled C/C++ is the *main* use of the C pre-processor, and the
one that counts in terms of performance tuning.
> compliance with a new C standard is NOT enough to ensure
> it will work properly for all the things it is used for.
I actually spent a fair bit of time making sure that cppmain emits
spaces where needed for proper tokenization, but does not add unncessary
whitespace. I.e. same as cccp does, but (at least at that time) actually
a little bit better.
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner