This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gcc/Makefile.in breakage on mainline
- From: Gunther Nikl <gni at gecko dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: zack at codesourcery dot com
- Date: Mon, 13 Oct 2003 17:54:47 +0200
- Subject: gcc/Makefile.in breakage on mainline
Hello!
Compiling GCC with build != host does currently fail because of two bugs in
gcc/Makefile.in:
- genmodes.o is missing in genobjs
- $(srcdir)/insn-modes.c doesn't exists when building
$(BUILD_PREFIX_1)insn-modes.o.
Gunther Nikl
--cut--
2003-10-13 Gunther Nikl <gni@gecko.de>
* Makefile.in (genobjs): add genmodes.o
($(BUILD_PREFIX_1)insn-modes.o): remove $(srcdir) from source file
--- Makefile.in~ Mon Oct 13 11:35:08 2003
+++ Makefile.in Mon Oct 13 17:48:45 2003
@@ -2113,7 +2113,7 @@
# Object files used in those programs.
genobjs=$(genprognames:%=%.o) read-rtl.o gensupport.o genattrtab.o \
- genautomata.o gengenrtl.o genpreds.o gengtype.o \
+ genautomata.o gengenrtl.o genmodes.o genpreds.o gengtype.o \
genconstants.o gen-protos.o scan.o fix-header.o scan-decls.o \
gencheck.o dummy-conditions.o genconditions.o
@@ -2293,7 +2293,7 @@
$(BUILD_PREFIX_1)insn-modes.o: insn-modes.c $(BCONFIG_H) $(SYSTEM_H) \
coretypes.h $(GTM_H) $(MACHMODE_H)
rm -f $(BUILD_PREFIX)insn-modes.c
- sed -e 's/config[.]h/bconfig.h/' $(srcdir)/insn-modes.c > $(BUILD_PREFIX)insn-modes.c
+ sed -e 's/config[.]h/bconfig.h/' insn-modes.c > $(BUILD_PREFIX)insn-modes.c
$(CC_FOR_BUILD) -c $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(INCLUDES) $(BUILD_PREFIX)insn-modes.c $(OUTPUT_OPTION)
#
--cut--