Parameter record of Configure

Source: Internet
Author: User
Tags documentation doxygen locale

Cross-compiling a software is tripped by a parameter of the configure, wasting time. Because the parameter configuration of install and configure is not carefully reviewed. Configure–help is still very useful.

' Configure ' configures this package to adapt to many kinds of systems. Usage:./configure [OPTION] ...

[Var=value] ...  To assign environment variables (e.g., CC, cflags ...), specify them as Var=value.

Below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets. Configuration:-H,--help display this Help and exit--help=short display options specific to This package--help=recursive display the short help of the included Packages-v,--version DISPL Ay version information and exit-q,--quiet,--silent do not print ' checking ... ' Messages--cache-file=file CA         Che test results in FILE [disabled]-C,--config-cache alias for '--cache-file=config.cache '-N,--no-create

Do don't create output files--srcdir=dir find the sources in dir [Configure Dir or ' ... '] Installation directories:--prefix=prefix Install architecture-independent files In PREFIX [/usr/local]--exec-prefix=eprefix install architecture-dependent files in Eprefix

[PREFIX]  By default, ' make install ' would install all of the files in '/usr/local/bin ', '/usr/local/lib ' etc.

You can specify a installation prefix than '/usr/local ' using '--prefix ' for instance '--prefix= $HOME '.

For better control, use the options below.          Fine tuning of the installation directories:--bindir=dir user executables [Eprefix/bin]--sbindir=dir System admin Executables [Eprefix/sbin]--libexecdir=dir program executables [eprefix/libexec]--sysconfdir= DIR read-only single-machine data [prefix/etc]--sharedstatedir=dir modifiable architecture-independent data [PR Efix/com]--localstatedir=dir modifiable single-machine data [Prefix/var]--libdir=dir object code Librar ies [eprefix/lib]--includedir=dir C header files [prefix/include]--oldincludedir=dir C header files for noN-GCC [/usr/include]--datarootdir=dir read-only arch.-independent data root [Prefix/share]--datadir=dir Read-only architecture-independent data [datarootdir]--infodir=dir info documentation [DATAROOTDIR/INFO]- -localedir=dir locale-dependent data [Datarootdir/locale]--mandir=dir man documentation [datarootdir/m An]--docdir=dir documentation root [datarootdir/doc/package]--htmldir=dir HTML documentation [doc             DIR]--dvidir=dir DVI documentation [DOCDIR]--pdfdir=dir PDF documentation [DOCDIR]--psdir=dir PS documentation [DOCDIR] program names:--program-prefix=prefix prepend prefix to installed Pro Gram names--program-suffix=suffix append suffix to installed program names--program-transform-name=progra M run sed on installed program names System types:--build=build Configure for building in build [guessed ]--host=host CROss-compile to build programs to run on HOST [builds] Optional Features:--disable-feature do not include FEATURE (same as--enable-feature=no)--enable-feature[=arg] include FEATURE [Arg=yes]--disable-dependency-tracking speeds Up one-time build--enable-dependency-tracking does not reject slow dependency extractors en Able make rules and dependencies not useful (and sometimes confusing) to the casual installer RED[=PKGS] Build shared libraries [Default=yes]--enable-static[=pkgs] Build static libraries [Default=yes]--enable -FAST-INSTALL[=PKGS] Optimize for fast installation [Default=yes]--disable-libtool-lock Avoi D Locking (might break parallel builds)--enable-doxygen enable documentation generation with Doxygen (auto)--  Enable-dot use ' dot ' to generate graphs into Doxygen (auto)--enable-html-docs enable HTML generation with Doxygen (yes)--enablE-latex-docs Enable latex documentation generation with Doxygen (NO) Optional Packages:--with-package[=arg] Use PACKAGE [Arg=yes]--without-package don't use PACKAGE (same as--with-package=no)--with-gnu-ld
                          Me the C compiler uses GNU ld [Default=no]--with-pic try to use only Pic/non-pic objects [Default=use Both]--with-tags[=tags] include additional configurations [automatic] Some influential-envi ronment variables:cc C compiler command cflags C compiler flags LDFLAGS linker flags, e.g.-l<  Lib Dir> if you have libraries in a nonstandard directory <lib dir> LIBS libraries to pass
              to the linker, e.g.-l<library> cppflags c/c++/objective C preprocessor flags, e.g.-i<include dir> if     Have headers in a nonstandard directory <include dir> CXX C + + compiler command Cxxflags
 C + + compiler flags CPP C Preprocessor cxxcpp C + + preprocessor F77 Fortran compiler command Fflags FORTRAN Compiler flags Use this variables to override the choices made from ' configure ' or to help it to find libraries and PR Ograms with nonstandard names/locations.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.