From efd784ca05a0820ab74fea72bec63ba8d3e68bc7 Mon Sep 17 00:00:00 2001 From: Roland Pesch Date: Sat, 6 Apr 1991 00:13:19 +0000 Subject: [PATCH] Added John Gilmore's advice on subdirs to installation appendix. --- gdb/doc/gdb.texinfo | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index a1d12efab9..9c4bb286eb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -5132,17 +5132,25 @@ things without first using the debugger to find the facts. @cindex configuring _GDBN__ @cindex installation -The script @samp{config.gdb} automates the process of preparing _GDBN__ for -installation; you can then use @samp{make} to actually build it. For -example, +The script @samp{config.gdb} automates the process of preparing _GDBN__ +for installation; you can then use @samp{make} to actually build it. +The best way to build GDB is in a subdirectory that records the +configuration options used; this gives you a clean way of building +_GDBN__ binaries with several different configuration options. +@samp{config.gdb} doesn't depend on this---it's just a good habit. For +example, assuming the _GDBN__ source is in a directory called +``@code{gdb-4.0}'': @example -config.gdb sun3os4 +cd gdb-4.0 +mkdir =sun3os4 +cd =sun3os4 +../config.gdb sun3os4 make @end example @noindent -is all that's required to install _GDBN__ on a Sun 3 running SunOS 4. +will install _GDBN__ on a Sun 3 running SunOS 4. @table @code @kindex config.gdb