This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: sim/gdb dependency
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: neroden at twcny dot rr dot com, gdb-patches at sources dot redhat dot com,gcc-patches at gcc dot gnu dot org
- Date: Sun, 08 Dec 2002 17:16:35 -0500
- Subject: Re: sim/gdb dependency
- References: <3DF24E38.7020908@redhat.com> <200212080003.gB803BT32520@greed.delorie.com>
Try this,
Makefile.in to read something like:
all-sim: configure-sim configure-gdb
and that fixed the problem. (But I'm not sure how to do this from scratch).
That line should be identical between Makefile.tpl and Makefile.in.
You should be able to hand-tweak them both.
If you want to post a patch, I'll apply it. Please include
gcc-patches@gcc.gnu.org so I can do that side also.
I think I found the right place. Andrew
2002-12-08 Andrew Cagney <ac131313@redhat.com>
* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
* Makefile.in (all-sim): Ditto.
Index: Makefile.tpl
===================================================================
RCS file: /cvs/src/src/Makefile.tpl,v
retrieving revision 1.24
diff -u -r1.24 Makefile.tpl
--- Makefile.tpl 6 Dec 2002 20:11:59 -0000 1.24
+++ Makefile.tpl 8 Dec 2002 22:01:36 -0000
@@ -1312,7 +1312,7 @@
install-itcl: maybe-install-tcl
all-sid: maybe-all-tcl maybe-all-tk
install-sid: maybe-install-tcl maybe-install-tk
-all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline
+all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
configure-tk: maybe-configure-tcl
all-tk: maybe-all-tcl
configure-tix: maybe-configure-tcl maybe-configure-tk
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/Makefile.in,v
retrieving revision 1.90
diff -u -r1.90 Makefile.in
--- Makefile.in 6 Dec 2002 20:11:59 -0000 1.90
+++ Makefile.in 8 Dec 2002 22:11:14 -0000
@@ -7707,7 +7707,7 @@
install-itcl: maybe-install-tcl
all-sid: maybe-all-tcl maybe-all-tk
install-sid: maybe-install-tcl maybe-install-tk
-all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline
+all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
configure-tk: maybe-configure-tcl
all-tk: maybe-all-tcl
configure-tix: maybe-configure-tcl maybe-configure-tk