This is the mail archive of the gcc@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]

egcs-971122 makefile bugs


1) I needed this patch to build in a different directory.  I don't
know why I only needed this on linux, not on hpux, but maybe I hadn't
made distclean on the hp?

*** Makefile	1997/11/26 03:49:09	1.1
--- Makefile	1997/11/26 03:55:22
***************
*** 1111,1120 ****
  # It'd be nice if we could find an easier way to do this---rather than have
  # to track changes to the toplevel gcc Makefile as well.
  # We depend on g77.c last, to make it obvious where it came from.
! g77.o: $(CONFIG_H) multilib.h config.status $(lang_specs_files) g77.c
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	$(DRIVER_DEFINES) \
! 	-DLANG_SPECIFIC_DRIVER -c g77.c
  
  # Create the compiler driver for g77.
  g77$(exeext): g77.o g77spec.o version.o choose-temp.o pexecute.o $(LIBDEPS) $(EXTRA_GCC_OBJS)
--- 1111,1120 ----
  # It'd be nice if we could find an easier way to do this---rather than have
  # to track changes to the toplevel gcc Makefile as well.
  # We depend on g77.c last, to make it obvious where it came from.
! g77.o:  g77.c $(CONFIG_H) multilib.h config.status $(lang_specs_files)
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	$(DRIVER_DEFINES) \
! 	-DLANG_SPECIFIC_DRIVER -c $<
  
  # Create the compiler driver for g77.
  g77$(exeext): g77.o g77spec.o version.o choose-temp.o pexecute.o $(LIBDEPS) $(EXTRA_GCC_OBJS)

2) Make install failed similary when it tried to install f/g77.info,
which it needed to use vpath to find (but didn't).


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