mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
Added John Gilmore's advice on subdirs to installation appendix.
This commit is contained in:
@ -5132,17 +5132,25 @@ things without first using the debugger to find the facts.
|
|||||||
@cindex configuring _GDBN__
|
@cindex configuring _GDBN__
|
||||||
@cindex installation
|
@cindex installation
|
||||||
|
|
||||||
The script @samp{config.gdb} automates the process of preparing _GDBN__ for
|
The script @samp{config.gdb} automates the process of preparing _GDBN__
|
||||||
installation; you can then use @samp{make} to actually build it. For
|
for installation; you can then use @samp{make} to actually build it.
|
||||||
example,
|
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
|
@example
|
||||||
config.gdb sun3os4
|
cd gdb-4.0
|
||||||
|
mkdir =sun3os4
|
||||||
|
cd =sun3os4
|
||||||
|
../config.gdb sun3os4
|
||||||
make
|
make
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@noindent
|
@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
|
@table @code
|
||||||
@kindex config.gdb
|
@kindex config.gdb
|
||||||
|
Reference in New Issue
Block a user