gcc/Makefile fix: predict.o and make -j

Brad Lucier lucier@math.purdue.edu
Thu Jan 20 07:24:00 GMT 2000


> predict.o seems to need insn-codes.h as well as expr.h:
> 
> In file included from ../../gcc/predict.c:48:
> ../../gcc/expr.h:270: insn-codes.h: No such file or directory
> 
> So I suggest the following fix:

Sorry, I changed the generated Makefile, not the input Makefile.in:
 
 	* gcc/Makefile.in: predict.o depends on $(EXPR_H), not just expr.h

*** Makefile.in	Wed Jan 19 04:42:10 2000
--- /export/u11/lucier/programs/egcs/gcc/Makefile.in	Wed Jan 19 16:26:44 2000
***************
*** 1620,1626 ****
  dyn-string.o: dyn-string.c dyn-string.h $(CONFIG_H) system.h
  predict.o: predict.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
     insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h \
!    $(RECOG_H) insn-flags.h function.h except.h expr.h
  lists.o: lists.c $(CONFIG_H) system.h toplev.h $(RTL_H) ggc.h
  
  $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) ggc.h \
--- 1620,1626 ----
  dyn-string.o: dyn-string.c dyn-string.h $(CONFIG_H) system.h
  predict.o: predict.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
     insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h \
!    $(RECOG_H) insn-flags.h function.h except.h $(EXPR_H)
  lists.o: lists.c $(CONFIG_H) system.h toplev.h $(RTL_H) ggc.h
  
  $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) ggc.h \


More information about the Gcc-patches mailing list