Lines Matching +full:- +full:- +full:directory +full:- +full:prefix

9 notice and this notice are preserved.  This file is offered as-is,
17 more-detailed instructions are generic; see the `README' file for
25 various system-dependent variables used during compilation. It uses
26 those values to create a `Makefile' in each directory of the package.
27 It may also create one or more `.h' files containing system-dependent
34 and enabled with `--cache-file=config.cache' or simply `-C') that saves
53 1. `cd' to the directory containing the package's source code and type
61 3. Optionally, type `make check' to run any self-tests that come with
62 the package, generally using the just-built uninstalled binaries.
65 documentation. When installing into a prefix owned by root, it is
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
78 source code directory by typing `make clean'. To also remove the
81 also a `make maintainer-clean' target, but that is intended mainly
100 the `configure' script does not know about. Run `./configure --help'
107 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
116 own directory. To do this, you can use GNU `make'. `cd' to the
117 directory where you want the object files and executables to go and run
119 source code in the directory that `configure' is in and in `..'. This
122 With a non-GNU `make', it is safer to compile the package for one
123 architecture at a time in the source code directory. After you have
128 executables that work on multiple system types--known as "fat" or
129 "universal" binaries--by specifying multiple `-arch' options to the
130 compiler but only a single `-arch' option to the preprocessor. Like
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
146 can specify an installation prefix other than `/usr/local' by giving
147 `configure' the option `--prefix=PREFIX', where PREFIX must be an
151 architecture-specific files and architecture-independent files. If you
152 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
153 PREFIX as the prefix for installing programs and libraries.
154 Documentation and other data files still use the regular prefix.
156 In addition, if you use an unusual directory layout you can give
157 options like `--bindir=DIR' to specify different values for particular
158 kinds of files. Run `configure --help' for a list of the directories
160 default for these options is expressed in terms of `${prefix}', so that
161 specifying just `--prefix' will affect all of the other directory
171 affected directory. For example, `make install
172 prefix=/alternate/directory' will choose an alternate location for all
173 directory configuration variables that were expressed in terms of
174 `${prefix}'. Any directories that were specified during `configure',
175 but not in terms of `${prefix}', must each be overridden at install
177 makefile variable overrides for each directory variable is required by
184 example, `make install DESTDIR=/alternate/directory' will prepend
185 `/alternate/directory' before all installation names. The approach of
189 when some directory options were not specified in terms of `${prefix}'
196 with an extra prefix or suffix on their names by giving `configure' the
197 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
199 Some packages pay attention to `--enable-FEATURE' options to
201 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202 is something like `gnu-as' or `x' (for the X Window System). The
203 `README' should mention any `--enable-' and `--with-' options that the
208 you can use the `configure' options `--x-includes=DIR' and
209 `--x-libraries=DIR' to specify their locations.
213 --enable-silent-rules' sets the default to minimal output, which can be
215 --disable-silent-rules' sets the default to verbose, which can be
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
227 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
230 parse its `<wchar.h>' header file. The option `-nodtk' can be used as
238 ./configure CC="cc -nodtk"
241 directory contains several dysfunctional programs; working variants of
248 ./configure --prefix=/boot/common
258 `--build=TYPE' option. TYPE can either be a short name for the system
261 CPU-COMPANY-SYSTEM
266 KERNEL-OS
272 If you are _building_ compiler tools for cross-compiling, you should
273 use the option `--target=TYPE' to select the type of system they will
279 eventually be run) with `--host=TYPE'.
286 default values for variables like `CC', `cache_file', and `prefix'.
287 `configure' looks for `PREFIX/share/config.site' if it exists, then
288 `PREFIX/etc/config.site' if it exists. Or, you can set the
317 `--help'
318 `-h'
321 `--help=short'
322 `--help=recursive'
328 `--version'
329 `-V'
333 `--cache-file=FILE'
338 `--config-cache'
339 `-C'
340 Alias for `--cache-file=config.cache'.
342 `--quiet'
343 `--silent'
344 `-q'
349 `--srcdir=DIR'
350 Look for the package's source code in directory DIR. Usually
351 `configure' can determine that directory automatically.
353 `--prefix=DIR'
354 Use DIR as the installation prefix. *note Installation Names::
355 for more details, including other options available for fine-tuning
358 `--no-create'
359 `-n'
364 `configure --help' for more details.