%sh config.sub i386-linux i386-pc-linux-gnu

%sh config.sub alpha-linux alpha-unknown-linux-gnu

%sh config.sub hp9k700 hppa1.1-hp-hpux

%sh config.sub sun4

sparc-sun-sunos4.1.1 % sh config.sub sun3 m68k-sun-sunos4.1.1 % sh config.sub i986v

Invalid configuration `i986v': machine `i986v' not recognized

config.sub is also distributed in the GDB source directory (gdb-gdb-199991101, for version gdb-199991101).

A.3 configure options

Here is a summary of the configure options and arguments that are most often useful for building GDB. configure also has several other options not listed here. See Info file configure.info, or the node What Configure Does, for a full explanation of configure.

configure [--help] [--prefix=dir] [--exec-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 --.

--help

Display a quick summary of how to invoke configure.

--prefix=dir

Configure the source to install programs and files under

 

directory `dir.

--exec-prefix=dir

Configure the source to install programs under directory

 

dir.

--srcdir=dirname

Warning: using this option requires gnu make, or another

 

make that implements the VPATH feature. Use this option

 

to make configurations in directories separate from the GDB

 

source directories. Among other things, you can use this to

 

build (or maintain) several configurations simultaneously,

 

in separate directories. configure writes configuration

 

specific files in the current directory, but arranges for them

 

to use the source in the directory dirname. configure

 

creates directories under the working directory in parallel

 

to the source directories below dirname.

368 Installing GDB