This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to make --enable-cpp the default
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: patch to make --enable-cpp the default
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Tue, 18 May 1999 00:33:14 -0600
- cc: egcs-patches at egcs dot cygnus dot com, Marc Espie <espie at quatramaran dot ens dot fr>
- Reply-To: law at cygnus dot com
In message <199905151823.OAA21938@blastula.phys.columbia.edu>you write:
> On Thu, 13 May 1999 17:32:28 -0600, Jeffrey A Law wrote:
> >
> > In message <199905131206.IAA10392@blastula.phys.columbia.edu>you write:
> > > We had a long discussion of this while you were sick. gcc.c thinks
> > > -lang-FOO is a library to link. Consensus was don't mess with this in
> > > general. I can make it work for cpp only, but there wasn't any
> > > consensus on whether it was necessary.
> >Oh yea. Punting this (with suitable docs) seems reasonable.
> >
> > > Formerly __GNUC__ was not defined.
> >Then let's try to do the same thing.
>
> Here is a patch which does both. I do not speak troff, so I have not
> updated cccp.1 (and cccp.1 is six years out of date anyway).
>
> zw
>
> 1999-05-15 14:16 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
>
> * cppspec.c: Insert -no-gcc into command line unless -gcc was
> given by user.
> * gcc.c (default_compilers): Define __GNUC__ and
> __GNUC_MINOR__ only if -no-gcc was not given.
> * ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
> objc/lang-specs.h: Likewise.
> * cpp.texi: Document -x and -std options; explain that -lang
> is no longer supported. Minor related corrections.
Thanks. Installed.
jeff