public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch installed for cross-compiling to alpha-dec-vms
@ 2002-07-28  6:15 Kaveh R. Ghazi
  0 siblings, 0 replies; only message in thread
From: Kaveh R. Ghazi @ 2002-07-28  6:15 UTC (permalink / raw)
  To: gcc-patches

When cross-compiling to alpha-dec-vms I get:

 > vmsdbgout.c: In function `vmsdbgout_begin_prologue':
 > vmsdbgout.c:1282: `current_function_funcdef_no' undeclared (first use in this function)
 > vmsdbgout.c:1282: (Each undeclared identifier is reported only once
 > vmsdbgout.c:1282: for each function it appears in.)
 > vmsdbgout.c: In function `vmsdbgout_after_prologue':
 > vmsdbgout.c:1298: `current_function_funcdef_no' undeclared (first use in this function)
 > vmsdbgout.c: In function `vmsdbgout_end_epilogue':
 > vmsdbgout.c:1320: `current_function_funcdef_no' undeclared (first use in this function)
 > make: *** [vmsdbgout.o] Error 1

Fixed with the following patch.  Installed as obvious after compiling
cc1 successfully.


2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (vmsdbgout.o): Depend on function.h.

	* vmsdbgout.c: Include function.h.
	
diff -rup orig/egcc-CVS20020727/gcc/Makefile.in egcc-CVS20020727/gcc/Makefile.in
--- orig/egcc-CVS20020727/gcc/Makefile.in	2002-07-27 19:33:41.000000000 -0400
+++ egcc-CVS20020727/gcc/Makefile.in	2002-07-28 08:42:57.947930068 -0400
@@ -1463,7 +1463,7 @@ dwarf2out.o : dwarf2out.c $(CONFIG_H) $(
 dwarf2asm.o : dwarf2asm.c $(CONFIG_H) $(SYSTEM_H) flags.h $(RTL_H) $(TREE_H) \
    output.h dwarf2asm.h $(TM_P_H) $(GGC_H)
 vmsdbgout.o : vmsdbgout.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) flags.h \
-   output.h vmsdbg.h debug.h langhooks.h
+   output.h vmsdbg.h debug.h langhooks.h function.h
 xcoffout.o : xcoffout.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) xcoffout.h \
    flags.h toplev.h output.h dbxout.h $(GGC_H) $(TARGET_H)
 emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
diff -rup orig/egcc-CVS20020727/gcc/vmsdbgout.c egcc-CVS20020727/gcc/vmsdbgout.c
--- orig/egcc-CVS20020727/gcc/vmsdbgout.c	2002-07-23 07:00:26.000000000 -0400
+++ egcc-CVS20020727/gcc/vmsdbgout.c	2002-07-28 08:42:22.576164044 -0400
@@ -31,6 +31,7 @@ Software Foundation, 59 Temple Place - S
 #include "vmsdbg.h"
 #include "debug.h"
 #include "langhooks.h"
+#include "function.h"
 
 /* Difference in seconds between the VMS Epoch and the Unix Epoch */
 static const long long vms_epoch_offset = 3506716800ll;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-28 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-28  6:15 Patch installed for cross-compiling to alpha-dec-vms Kaveh R. Ghazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).