public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-971122 makefile bugs
@ 1997-11-25 21:48 neal
  1997-11-26 13:56 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: neal @ 1997-11-25 21:48 UTC (permalink / raw)
  To: egcs

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).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: egcs-971122 makefile bugs
  1997-11-25 21:48 egcs-971122 makefile bugs neal
@ 1997-11-26 13:56 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-11-26 13:56 UTC (permalink / raw)
  To: neal; +Cc: egcs

  In message < E0xaYq3-0003eM-00@neal.fred.net >you write:
  > 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?
That's quite odd -- maybe you built in the srcdir at some point and g77.c
is still lying around in the source dir?

g77.c is constructed in the object directory from gcc.c

I wonder if the g77.info is another manifestation of the same problem.

jeff


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-11-26 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-25 21:48 egcs-971122 makefile bugs neal
1997-11-26 13:56 ` Jeffrey A Law

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).