GNU Binutils with patches for OS216
Révision | a95746f91769c0f65e9393ff83aad0871d1a666b (tree) |
---|---|
l'heure | 2018-10-01 17:55:26 |
Auteur | Tom Tromey <tom@trom...> |
Commiter | Tom Tromey |
Copy configure option documentation to gdb.texinfo
I realized that while I'd updated the README, I didn't update
gdb.texinfo to document the options to configure.
This patch copies the text from README into gdb.texinfo, adding
Texinfo markup.
gdb/ChangeLog
2018-10-01 Tom Tromey <tom@tromey.com>
* README: Minor change.
gdb/doc/ChangeLog
2018-10-01 Tom Tromey <tom@tromey.com>
* gdb.texinfo (Configure Options): Document configure options.
@@ -1,3 +1,7 @@ | ||
1 | +2018-10-01 Tom Tromey <tom@tromey.com> | |
2 | + | |
3 | + * README: Minor change. | |
4 | + | |
1 | 5 | 2018-09-30 Pedro Alves <palves@redhat.com> |
2 | 6 | |
3 | 7 | * darwin-nat-info.c (darwin_debug_regions_recurse) |
@@ -439,11 +439,11 @@ more obscure GDB `configure' options are not listed here. | ||
439 | 439 | |
440 | 440 | `--with-system-readline' |
441 | 441 | Use the readline library installed on the host, rather than the |
442 | - library supplied as part of GDB tarball. | |
442 | + library supplied as part of GDB. | |
443 | 443 | |
444 | 444 | `--with-system-zlib |
445 | 445 | Use the zlib library installed on the host, rather than the |
446 | - library supplied as part of GDB tarball. | |
446 | + library supplied as part of GDB. | |
447 | 447 | |
448 | 448 | `--with-expat' |
449 | 449 | Build GDB with Expat, a library for XML parsing. (Done by |
@@ -1,3 +1,7 @@ | ||
1 | +2018-10-01 Tom Tromey <tom@tromey.com> | |
2 | + | |
3 | + * gdb.texinfo (Configure Options): Document configure options. | |
4 | + | |
1 | 5 | 2018-09-29 Tom Tromey <tom@tromey.com> |
2 | 6 | |
3 | 7 | * gdb.texinfo (Requirements): Mention C++, GNU make. |
@@ -35593,11 +35593,158 @@ Configure @value{GDBN} for cross-debugging programs running on the specified | ||
35593 | 35593 | @var{target}. Without this option, @value{GDBN} is configured to debug |
35594 | 35594 | programs that run on the same machine (@var{host}) as @value{GDBN} itself. |
35595 | 35595 | |
35596 | -There is no convenient way to generate a list of all available targets. | |
35596 | +There is no convenient way to generate a list of all available | |
35597 | +targets. Also see the @code{--enable-targets} option, below. | |
35597 | 35598 | @end table |
35598 | 35599 | |
35599 | -There are many other options available as well, but they are generally | |
35600 | -needed for special purposes only. | |
35600 | +There are many other options that are specific to @value{GDBN}. This | |
35601 | +lists just the most common ones; there are some very specialized | |
35602 | +options not described here. | |
35603 | + | |
35604 | +@table @code | |
35605 | +@item --enable-targets=@r{[}@var{target}@r{]}@dots{} | |
35606 | +@itemx --enable-targets=all | |
35607 | +Configure @value{GDBN} for cross-debugging programs running on the | |
35608 | +specified list of targets. The special value @samp{all} configures | |
35609 | +@value{GDBN} for debugging programs running on any target it supports. | |
35610 | + | |
35611 | +@item --with-gdb-datadir=@var{path} | |
35612 | +Set the @value{GDBN}-specific data directory. @value{GDBN} will look | |
35613 | +here for certain supporting files or scripts. This defaults to the | |
35614 | +@file{gdb} subdirectory of @samp{datadi} (which can be set using | |
35615 | +@code{--datadir}). | |
35616 | + | |
35617 | +@item --with-relocated-sources=@var{dir} | |
35618 | +Sets up the default source path substitution rule so that directory | |
35619 | +names recorded in debug information will be automatically adjusted for | |
35620 | +any directory under @var{dir}. @var{dir} should be a subdirectory of | |
35621 | +@value{GDBN}'s configured prefix, the one mentioned in the | |
35622 | +@code{--prefix} or @code{--exec-prefix} options to configure. This | |
35623 | +option is useful if GDB is supposed to be moved to a different place | |
35624 | +after it is built. | |
35625 | + | |
35626 | +@item --enable-64-bit-bfd | |
35627 | +Enable 64-bit support in BFD on 32-bit hosts. | |
35628 | + | |
35629 | +@item --disable-gdbmi | |
35630 | +Build @value{GDBN} without the GDB/MI machine interface | |
35631 | +(@pxref{GDB/MI}). | |
35632 | + | |
35633 | +@item --enable-tui | |
35634 | +Build @value{GDBN} with the text-mode full-screen user interface | |
35635 | +(TUI). Requires a curses library (ncurses and cursesX are also | |
35636 | +supported). | |
35637 | + | |
35638 | +@item --with-curses | |
35639 | +Use the curses library instead of the termcap library, for text-mode | |
35640 | +terminal operations. | |
35641 | + | |
35642 | +@item --with-libunwind-ia64 | |
35643 | +Use the libunwind library for unwinding function call stack on ia64 | |
35644 | +target platforms. See http://www.nongnu.org/libunwind/index.html for | |
35645 | +details. | |
35646 | + | |
35647 | +@item --with-system-readline | |
35648 | +Use the readline library installed on the host, rather than the | |
35649 | +library supplied as part of @value{GDBN}. | |
35650 | + | |
35651 | +@item --with-system-zlib | |
35652 | +Use the zlib library installed on the host, rather than the library | |
35653 | +supplied as part of @value{GDBN}. | |
35654 | + | |
35655 | +@item --with-expat | |
35656 | +Build @value{GDBN} with Expat, a library for XML parsing. (Done by | |
35657 | +default if libexpat is installed and found at configure time.) This | |
35658 | +library is used to read XML files supplied with @value{GDBN}. If it | |
35659 | +is unavailable, some features, such as remote protocol memory maps, | |
35660 | +target descriptions, and shared library lists, that are based on XML | |
35661 | +files, will not be available in @value{GDBN}. If your host does not | |
35662 | +have libexpat installed, you can get the latest version from | |
35663 | +`http://expat.sourceforge.net'. | |
35664 | + | |
35665 | +@item --with-libiconv-prefix@r{[}=@var{dir}@r{]} | |
35666 | + | |
35667 | +Build @value{GDBN} with GNU libiconv, a character set encoding | |
35668 | +conversion library. This is not done by default, as on GNU systems | |
35669 | +the @code{iconv} that is built in to the C library is sufficient. If | |
35670 | +your host does not have a working @code{iconv}, you can get the latest | |
35671 | +version of GNU iconv from `https://www.gnu.org/software/libiconv/'. | |
35672 | + | |
35673 | +@value{GDBN}'s build system also supports building GNU libiconv as | |
35674 | +part of the overall build. @xref{Requirements}. | |
35675 | + | |
35676 | +@item --with-lzma | |
35677 | +Build @value{GDBN} with LZMA, a compression library. (Done by default | |
35678 | +if liblzma is installed and found at configure time.) LZMA is used by | |
35679 | +@value{GDBN}'s "mini debuginfo" feature, which is only useful on | |
35680 | +platforms using the ELF object file format. If your host does not | |
35681 | +have liblzma installed, you can get the latest version from | |
35682 | +`https://tukaani.org/xz/'. | |
35683 | + | |
35684 | +@item --with-mpfr | |
35685 | +Build @value{GDBN} with GNU MPFR, a library for multiple-precision | |
35686 | +floating-point computation with correct rounding. (Done by default if | |
35687 | +GNU MPFR is installed and found at configure time.) This library is | |
35688 | +used to emulate target floating-point arithmetic during expression | |
35689 | +evaluation when the target uses different floating-point formats than | |
35690 | +the host. If GNU MPFR is not available, @value{GDBN} will fall back | |
35691 | +to using host floating-point arithmetic. If your host does not have | |
35692 | +GNU MPFR installed, you can get the latest version from | |
35693 | +`http://www.mpfr.org'. | |
35694 | + | |
35695 | +@item --with-python@r{[}=@var{python}@r{]} | |
35696 | +Build @value{GDBN} with Python scripting support. (Done by default if | |
35697 | +libpython is present and found at configure time.) Python makes | |
35698 | +@value{GDBN} scripting much more powerful than the restricted CLI | |
35699 | +scripting language. If your host does not have Python installed, you | |
35700 | +can find it on `http://www.python.org/download/'. The oldest version | |
35701 | +of Python supported by GDB is 2.4. The optional argument @var{python} | |
35702 | +is used to find the Python headers and libraries. It can be either | |
35703 | +the name of a Python executable, or the name of the directory in which | |
35704 | +Python is installed. | |
35705 | + | |
35706 | +@item --with-guile[=GUILE]' | |
35707 | +Build @value{GDBN} with GNU Guile scripting support. (Done by default | |
35708 | +if libguile is present and found at configure time.) If your host | |
35709 | +does not have Guile installed, you can find it at | |
35710 | +`https://www.gnu.org/software/guile/'. The optional argument GUILE | |
35711 | +can be a version number, which will cause @code{configure} to try to | |
35712 | +use that version of Guile; or the file name of a @code{pkg-config} | |
35713 | +executable, which will be queried to find the information needed to | |
35714 | +compile and link against Guile. | |
35715 | + | |
35716 | +@item --without-included-regex | |
35717 | +Don't use the regex library included with @value{GDBN} (as part of the | |
35718 | +libiberty library). This is the default on hosts with version 2 of | |
35719 | +the GNU C library. | |
35720 | + | |
35721 | +@item --with-sysroot=@var{dir} | |
35722 | +Use @var{dir} as the default system root directory for libraries whose | |
35723 | +file names begin with @file{/lib}' or @file{/usr/lib'}. (The value of | |
35724 | +@var{dir} can be modified at run time by using the @command{set | |
35725 | +sysroot} command.) If @var{dir} is under the @value{GDBN} configured | |
35726 | +prefix (set with @code{--prefix} or @code{--exec-prefix options}, the | |
35727 | +default system root will be automatically adjusted if and when | |
35728 | +@value{GDBN} is moved to a different location. | |
35729 | + | |
35730 | +@item --with-system-gdbinit=@var{file} | |
35731 | +Configure @value{GDBN} to automatically load a system-wide init file. | |
35732 | +@var{file} should be an absolute file name. If @var{file} is in a | |
35733 | +directory under the configured prefix, and @value{GDBN} is moved to | |
35734 | +another location after being built, the location of the system-wide | |
35735 | +init file will be adjusted accordingly. | |
35736 | + | |
35737 | +@item --enable-build-warnings | |
35738 | +When building the @value{GDBN} sources, ask the compiler to warn about | |
35739 | +any code which looks even vaguely suspicious. It passes many | |
35740 | +different warning flags, depending on the exact version of the | |
35741 | +compiler you are using. | |
35742 | + | |
35743 | +@item --enable-werror | |
35744 | +Treat compiler warnings as werrors. It adds the @code{-Werror} flag | |
35745 | +to the compiler, which will fail the compilation if the compiler | |
35746 | +outputs any warning messages. | |
35747 | +@end table | |
35601 | 35748 | |
35602 | 35749 | @node System-wide configuration |
35603 | 35750 | @section System-wide configuration and settings |