Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/gdb53 Item 1 - mention that you can configure an...



details:   https://anonhg.NetBSD.org/src/rev/25cecb5c9f2d
branches:  trunk
changeset: 554422:25cecb5c9f2d
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Oct 28 01:12:11 2003 +0000

description:
Item 1 - mention that you can configure and build in a scratch
directory, thus saving the trouble of doing distclean and cvs update.

Item 4 - it's defs.mk, not defs.h.

New bullet - in defs.mk set G_BFD_CPPFLAGS from `tdefaults' variable
of the generated bfd/Makefile.

diffstat:

 gnu/usr.bin/gdb53/README |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 5860cba80c7e -r 25cecb5c9f2d gnu/usr.bin/gdb53/README
--- a/gnu/usr.bin/gdb53/README  Tue Oct 28 01:10:50 2003 +0000
+++ b/gnu/usr.bin/gdb53/README  Tue Oct 28 01:12:11 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: README,v 1.3 2003/10/27 00:57:04 wiz Exp $
+# $NetBSD: README,v 1.4 2003/10/28 01:12:11 uwe Exp $
 
 This note describes how to add support for gdb53 to a platform.
 
@@ -8,6 +8,9 @@
 1. Build gdb using the standard configure mechanism in the distribution
    directory /usr/src/gnu/dist/gdb.
 
+   Alternatively, configure and build in a scratch directory, so that
+   you can avoid doing the last distclean step of this instructions.
+
 2. Copy generated files (the ?m.h are not present on some platforms)
         cp gdb/{tm.h,nm.h,xm.h,config.h} ...arch/<platform>
         cp gdb/init.c ...arch/<platform>/gdb-init.c
@@ -41,7 +44,7 @@
 #endif
   _initialize_corelow ();
 
-4. Fix defs.h to have the right files. The readline, libiberty,
+4. Fix defs.mk to have the right files. The readline, libiberty,
    ones should be ok; for the others, go to the build directory
 
    ls -1 *.o | sed -e 's/$/ \\/' 
@@ -49,6 +52,9 @@
    and then incorporate the resulting sections into defs.mk. This should be
    done for bfd, gdb, opcodes.
 
-5. Make distclean in the distribution directory and cvs update [distclean
+5. Fix defs.mk to have the right bfd flags in G_BFD_CPPFLAGS.  Copy
+   them from `tdefaults' variable in generated bfd/Makefile.
+
+6. Make distclean in the distribution directory and cvs update [distclean
    removes some generated files we committed because they don't change across
    platforms]



Home | Main Index | Thread Index | Old Index