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]
Other format: [Raw text]

Re: [PATCH v3 05/18] convert the C front end to automatic dependencies


Il 20/08/2013 15:59, Tom Tromey ha scritto:
> This converts the C front end.
> 
> Note that this fixes a latent bug in gcc/Makefile.in's definition of
> C_TREE_H.  This is needed to avoid breaking this build with this
> patch.
> 
> 	* Makefile.in (C_TREE_H): Reference c/c-tree.h.
> 
> 	* Make-lang.in (c/gccspec.o): Remove.
> 	(CFLAGS-c/gccspec.o): New variable.
> 	(cc1-checksum.o, C_TREE_H, c/c-aux-info.o, c/c-convert.o)
> 	(c/c-decl.o, c/c-errors.o, c/c-lang.o, c/c-objc-common.o)
> 	(c/c-parser.o, c/c-typeck.o, c/c-array-notation.o): Remove.

As I wrote in another reply, I suspect this breaks bootstrap with
compilers that do not support "-c -o", if it is not broken yet.

Can you put before patch 4 another that defines OUTPUT_OPTION to "-o $@"
unconditionally and removes all traces of NO_MINUS_C_MINUS_O?

The series looks okay to me with that change.

Paolo


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