public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Makefile bug
@ 1998-02-18  1:53 Andreas Schwab
  1998-04-17 14:42 ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 1998-02-18  1:53 UTC (permalink / raw)
  To: egcs

Building the demangler program requires a working target compiler (to
create underscore.c), thus it cannot be built in a canadian cross.


Mon Feb 16 21:20:22 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG),
	which requires a working target compiler to build.

--- egcs-980214/gcc/cp/Make-lang.in.~1~	Mon Feb 16 19:48:58 1998
+++ egcs-980214/gcc/cp/Make-lang.in	Mon Feb 16 21:01:12 1998
@@ -127,7 +127,7 @@
 #\f
 # Build hooks:
 
-c++.all.build: g++$(exeext) $(DEMANGLER_PROG)
+c++.all.build: g++$(exeext)
 c++.all.cross: g++-cross$(exeext) $(DEMANGLER_PROG)
 c++.start.encap: g++$(exeext)
 c++.rest.encap: $(DEMANGLER_PROG)

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

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

* Re: Makefile bug
  1998-02-18  1:53 Makefile bug Andreas Schwab
@ 1998-04-17 14:42 ` Jeffrey A Law
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1998-04-17 14:42 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: egcs

  In message <vyzra51nssh.fsf@issan.informatik.uni-dortmund.de>you write:
  > Building the demangler program requires a working target compiler (to
  > create underscore.c), thus it cannot be built in a canadian cross.
  > 
  > 
  > Mon Feb 16 21:20:22 1998  Andreas Schwab  <schwab@issan.informatik.uni-dort
  > mund.de>
  > 
  > 	* Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG),
  > 	which requires a working target compiler to build.
I've installed this patch.

Thanks!
jeff

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

* Re: Makefile bug
  1998-01-19  2:07 Andreas Schwab
@ 1998-01-19  9:40 ` Richard Henderson
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1998-01-19  9:40 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: egcs

On Mon, Jan 19, 1998 at 11:07:05AM +0100, Andreas Schwab wrote:
> 1998-01-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
> 
> 	* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.

Applied, thanks.


r~

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

* Makefile bug
@ 1998-01-19  2:07 Andreas Schwab
  1998-01-19  9:40 ` Richard Henderson
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 1998-01-19  2:07 UTC (permalink / raw)
  To: egcs

The rule for genrtl.[ch] needs to have a dummy command, otherwise GNU make
won't recheck the modification time of the targets after remaking
stamp-genrtl and won't notice when they change.


1998-01-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.

--- egcs-980115/gcc/Makefile.in.~2~	Fri Jan 16 20:12:47 1998
+++ egcs-980115/gcc/Makefile.in	Sat Jan 17 09:08:32 1998
@@ -1588,6 +1588,7 @@
 
 genrtl.o : genrtl.c $(CONFIG_H) $(RTL_H)
 genrtl.c genrtl.h : stamp-genrtl
+	@:
 stamp-genrtl: gengenrtl $(srcdir)/move-if-change $(RTL_BASE_H)
 	./gengenrtl tmp-genrtl.h tmp-genrtl.c
 	$(srcdir)/move-if-change tmp-genrtl.h genrtl.h

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

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

end of thread, other threads:[~1998-04-17 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-18  1:53 Makefile bug Andreas Schwab
1998-04-17 14:42 ` Jeffrey A Law
  -- strict thread matches above, loose matches on Subject: below --
1998-01-19  2:07 Andreas Schwab
1998-01-19  9:40 ` Richard Henderson

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