once we have cpplib...
Ulrich Drepper
drepper@cygnus.com
Thu Apr 9 17:44:00 GMT 1998
Jeffrey A Law <law@cygnus.com> writes:
> Well, I find -V a nice thing to have, but I don't mind breaking it
> for something this significant. Or just make cpp a trivial program
> that calls gcc with the right arguments to put it into "cpp" mode :-)
I think there is an easy way to keep compatibility. When the
integrated cpp is supposed to be used give cc1 (cc1plus, ...) an extra
argument. This is of course in the specs file. Without the extra
argument preprocessed input is assumed. With the argument use the
builtin cpplib. This piece of information shouldn't be part of the
regular options but in a new category which is simply ignored by old
drivers. Say, add
*cpplib:
-use-cpplib
to the specs file and make gcc/g77/... use this field whenever
preprocessing is necessary.
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Gcc
mailing list