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]

g77 build fixups for mainline


Dave, could you install this patch on the mainline?  (I haven't
tried a complete build or anything with this or subsequent
patches, but will do so shortly.)

        tq vm, (burley)


Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>

	* Makefile.in (fini.o): Don't define USE_HCONFIG here.
	* fini.c: Define USE_HCONFIG here instead, so deps-kinda
	picks up correct dependency.

	* Makefile.in (proj-h.o): Fix dependencies list.

  
*** g77-e/gcc/f/Makefile.in.~1~	Wed Jul 15 05:35:54 1998
--- g77-e/gcc/f/Makefile.in	Fri Sep  4 18:28:23 1998
*************** fini: fini.o proj-h.o
*** 462,469 ****
  
  fini.o:
! 	$(HOST_CC) -c -DUSE_HCONFIG $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
  	      `echo $(srcdir)/fini.c | sed 's,^\./,,'` -o $@
  
! proj-h.o: proj.o
  	$(HOST_CC) -c -DUSE_HCONFIG $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
  	      `echo $(srcdir)/proj.c | sed 's,^\./,,'` -o $@
--- 462,470 ----
  
  fini.o:
! 	$(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
  	      `echo $(srcdir)/fini.c | sed 's,^\./,,'` -o $@
  
! # Like proj.o, but depends on hconfig.h instead of config.h.
! proj-h.o: proj.c proj.h $(HCONFIG_H) $(SYSTEM_H) $(ASSERT_H) $(GLIMITS_H)
  	$(HOST_CC) -c -DUSE_HCONFIG $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
  	      `echo $(srcdir)/proj.c | sed 's,^\./,,'` -o $@
*** g77-e/gcc/f/fini.c.~1~	Wed Jul 15 05:35:55 1998
--- g77-e/gcc/f/fini.c	Fri Sep  4 18:24:32 1998
*************** the Free Software Foundation, 59 Temple 
*** 20,23 ****
--- 20,25 ----
  02111-1307, USA.  */
  
+ #define USE_HCONFIG
+ 
  #include "proj.h"
  #include "malloc.h"


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