f78
The following summary of
the configure
options and arguments are useful for building GDB. configure
also has several other options not listed here. See the info file, ‘configure.info’,
in the node, ‘What
Configure Does’,
for more explanation of configure.
configure [--help] [--prefix=dir] [--srcdir=dirname] [--norecursion][--rm] [--target=target] host
You may introduce options
with a single ‘-’
rather than ‘--’
if you prefer; but you may abbreviate option names if you use ‘--’.
-prefix=dir
--srcdir=dirname
configure writes configuration specific files in the current directory, but arranges for them to use the source in the directory dirname. c41
configure creates directories under the working directory in parallel to the source directories below dirname.
Warning:
Using this option requires
GNU make,
or another make
that implements the VPATH
feature; for more on the VPATH
option, see GNU
Make in GNUPro Utilities.
--norecursion
--rm
--target=target
There is no convenient way to generate a list of all available targets.
host...
configure accepts other options, for compatibility with configuring other GNU tools recursively; but these are the only options that affect GDB or its supporting libraries.