configure
This section summarizes the configure
options and arguments used
most often:
configure [ hosttype ] [ --prefix=dest ] [ --exec-prefix=bindest ] [ --srcdir=path ] [ --target=target ]
The `--prefix' and `--exec-prefix' options are particularly important. If you don't specify a dest or bindest directory, the `Makefile' installs binaries in subdirectories of `/usr/cygnus/progressive-release' (see section How your Developer's Kit was built). These options are important because the dest and bindest directories are used for several purposes, most notably:
info
as the default directory
for the documentation.
See section The Heterogeneous Updateable Toolkit, for hints on setting up your installation to be accessible and easily updated.
hosttype
configure
can automatically determine what kind of machine
it runs on.
--prefix=dest
make install
installs programs, libraries,
and other relevant files. After you configure with this option,
`make install install-info' installs info
files in
`dest/info', MAN pages in `dest/man', and
(unless you also use `--exec-prefix') binary programs in
`dest/bin', and libraries in `dest/lib'. If you
specify `--prefix=/usr/local', for example, make install
puts
the development tools in `/usr/local/bin'. (See section The Heterogeneous Updateable Toolkit, for more detail.)
Cygnus uses a dest of
`/usr/cygnus/progressive-date'; see section How your Developer's Kit was built. This is also the default dest
for your source code. We recommend you always use the `--prefix'
option to explicitly set the destination prefix.
--exec-prefix=bindest
dest
,
specified with `--prefix'. Cygnus specifies a bindest value
of `/usr/cygnus/progressive-date/H-hosttype'; see
section Examples and suggestions. This is also
the default for your source distribution, unless you set dest with
`--prefix'. We recommend you always use the `--exec-prefix'
option to explicitly set the machine-dependent destination prefix.
--srcdir=path
configure
writes configuration-specific files in the
current directory, but arranges for them to use the source in the
directory path. configure
creates directories under the
working directory in parallel with the source directories below
path. The default path is the directory in which
configure
resides; setting this option is redundant, but explicit.
Among other things, you can use this to build (or maintain) several
configurations simultaneously, in separate build directories.
See section Source and Build Directories.
Warning: This option is only supported if you use GNU Make.
--target=target
mips-idt-ecoff
target, the compiler is named
mips-idt-ecoff-gcc
, the debugger is named
mips-idt-ecoff-gdb
, etc.