This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A patch for Makefile.in
- To: law at cygnus dot com
- Subject: Re: A patch for Makefile.in
- From: Jason Merrill <jason at cygnus dot com>
- Date: 27 Jul 1998 11:25:20 -0700
- Cc: Andi Kleen <ak at muc dot de>, "H.J. Lu" <hjl at lucon dot org>, egcs-patches at cygnus dot com
- References: <16090.901559939@hurl.cygnus.com>
>>>>> Jeffrey A Law <law@cygnus.com> writes:
> In message <19980727191235.A1438@kali.lrz-muenchen.de>you write:
>> But see the rest of my message. Lots of programs use cpp for non-C
>> text files, and they don't need the sophisticated specs file handling.
>> Most Unix systems supply a cpp somewhere in the standard $PATH, it just
>> does not work on gcc based systems.
> Right, but many do depend on some predefines. And while they do not
> need complex specs handling, they often need some specs handling.
> Calling cpp directly, IMHO, is bad and we should not encourage folks to
> do so.
As has come up before in this conversation, it might make sense to put
#! /bin/sh
gcc -E ${1:+"$@"}
in /lib/cpp.
Jason