This is the mail archive of the gcc-patches@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: A patch for Makefile.in


>>>>> 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


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