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

4    Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
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 enabled with '--cache-file=config.cache' or simply '-C') that saves the
52 1. 'cd' to the directory containing the package's source code and type
60 3. Optionally, type 'make check' to run any self-tests that come with
61 the package, generally using the just-built uninstalled binaries.
64 documentation. When installing into a prefix owned by root, it is
69 5. Optionally, type 'make installcheck' to repeat any self-tests, but
77 source code directory by typing 'make clean'. To also remove the
80 also a 'make maintainer-clean' target, but that is intended mainly
99 the 'configure' script does not know about. Run './configure --help'
106 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
115 own directory. To do this, you can use GNU 'make'. 'cd' to the
116 directory where you want the object files and executables to go and run
118 code in the directory that 'configure' is in and in '..'. This is known
121 With a non-GNU 'make', it is safer to compile the package for one
122 architecture at a time in the source code directory. After you have
127 executables that work on multiple system types--known as "fat" or
128 "universal" binaries--by specifying multiple '-arch' options to the
129 compiler but only a single '-arch' option to the preprocessor. Like
132 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
133 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CPP="gcc -E" CXXCPP="g++ -E"
145 can specify an installation prefix other than '/usr/local' by giving
146 'configure' the option '--prefix=PREFIX', where PREFIX must be an
150 architecture-specific files and architecture-independent files. If you
151 pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
152 PREFIX as the prefix for installing programs and libraries.
153 Documentation and other data files still use the regular prefix.
155 In addition, if you use an unusual directory layout you can give
156 options like '--bindir=DIR' to specify different values for particular
157 kinds of files. Run 'configure --help' for a list of the directories
159 for these options is expressed in terms of '${prefix}', so that
160 specifying just '--prefix' will affect all of the other directory
170 affected directory. For example, 'make install
171 prefix=/alternate/directory' will choose an alternate location for all
172 directory configuration variables that were expressed in terms of
173 '${prefix}'. Any directories that were specified during 'configure',
174 but not in terms of '${prefix}', must each be overridden at install time
176 variable overrides for each directory variable is required by the GNU
183 example, 'make install DESTDIR=/alternate/directory' will prepend
184 '/alternate/directory' before all installation names. The approach of
188 when some directory options were not specified in terms of '${prefix}'
195 with an extra prefix or suffix on their names by giving 'configure' the
196 option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
198 Some packages pay attention to '--enable-FEATURE' options to
200 They may also pay attention to '--with-PACKAGE' options, where PACKAGE
201 is something like 'gnu-as' or 'x' (for the X Window System). The
202 'README' should mention any '--enable-' and '--with-' options that the
207 you can use the 'configure' options '--x-includes=DIR' and
208 '--x-libraries=DIR' to specify their locations.
212 --enable-silent-rules' sets the default to minimal output, which can be
214 --disable-silent-rules' sets the default to verbose, which can be
220 On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
224 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228 HP-UX 'make' updates targets which have the same timestamps as their
233 parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
241 ./configure CC="cc -nodtk"
244 directory contains several dysfunctional programs; working variants of
251 ./configure --prefix=/boot/common
261 '--build=TYPE' option. TYPE can either be a short name for the system
264 CPU-COMPANY-SYSTEM
269 KERNEL-OS
275 If you are _building_ compiler tools for cross-compiling, you should
276 use the option '--target=TYPE' to select the type of system they will
282 eventually be run) with '--host=TYPE'.
289 default values for variables like 'CC', 'cache_file', and 'prefix'.
290 'configure' looks for 'PREFIX/share/config.site' if it exists, then
291 'PREFIX/etc/config.site' if it exists. Or, you can set the
321 '--help'
322 '-h'
325 '--help=short'
326 '--help=recursive'
332 '--version'
333 '-V'
337 '--cache-file=FILE'
342 '--config-cache'
343 '-C'
344 Alias for '--cache-file=config.cache'.
346 '--quiet'
347 '--silent'
348 '-q'
353 '--srcdir=DIR'
354 Look for the package's source code in directory DIR. Usually
355 'configure' can determine that directory automatically.
357 '--prefix=DIR'
358 Use DIR as the installation prefix. *note Installation Names:: for
359 more details, including other options available for fine-tuning the
362 '--no-create'
363 '-n'
368 'configure --help' for more details.