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]

Fix dependencies for print-rtl.o


My dualathlon just failed building GCC with:
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common  -DHAVE_CONFIG_H    -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/config -I/cvs/gcc/gcc/../include /cvs/gcc/gcc/print-rtl.c -o print-rtl.o
In file included from /cvs/gcc/gcc/print-rtl.c:23:
config.h:32:29: insn-constants.h: No such file or directory
config.h:33:25: insn-flags.h: No such file or directory
make[2]: *** [print-rtl.o] Error 1


With this patch I've been able to bootstrap again on my system
(i686-linux-gnu).  Ok to commit?

Andreas

2002-09-13  Andreas Jaeger  <aj@suse.de>

	* Makefile.in (print-rtl.o): Depend on CONFIG_H.

============================================================
Index: gcc/Makefile.in
--- gcc/Makefile.in	13 Sep 2002 06:28:20 -0000	1.944
+++ gcc/Makefile.in	13 Sep 2002 15:39:11 -0000
@@ -1392,7 +1392,7 @@ rtl-error.o: rtl-error.c system.h $(RTL_
 rtl.o : rtl.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) real.h $(GGC_H) errors.h
 	$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
 
-print-rtl.o : print-rtl.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \
+print-rtl.o : print-rtl.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \
     hard-reg-set.h $(BASIC_BLOCK_H)
 rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) \
    hard-reg-set.h $(TM_P_H) insn-config.h $(RECOG_H) real.h flags.h

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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