configure_options.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. `configure' configures this package to adapt to many kinds of systems.
  2. Usage: ./configure [OPTION]... [VAR=VALUE]...
  3. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  4. VAR=VALUE. See below for descriptions of some of the useful variables.
  5. Defaults for the options are specified in brackets.
  6. Configuration:
  7. -h, --help display this help and exit
  8. --help=short display options specific to this package
  9. --help=recursive display the short help of all the included packages
  10. -V, --version display version information and exit
  11. -q, --quiet, --silent do not print `checking ...' messages
  12. --cache-file=FILE cache test results in FILE [disabled]
  13. -C, --config-cache alias for `--cache-file=config.cache'
  14. -n, --no-create do not create output files
  15. --srcdir=DIR find the sources in DIR [configure dir or `..']
  16. Installation directories:
  17. --prefix=PREFIX install architecture-independent files in PREFIX
  18. [/usr/local]
  19. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  20. [PREFIX]
  21. By default, `make install' will install all the files in
  22. `/usr/local/bin', `/usr/local/lib' etc. You can specify
  23. an installation prefix other than `/usr/local' using `--prefix',
  24. for instance `--prefix=$HOME'.
  25. For better control, use the options below.
  26. Fine tuning of the installation directories:
  27. --bindir=DIR user executables [EPREFIX/bin]
  28. --sbindir=DIR system admin executables [EPREFIX/sbin]
  29. --libexecdir=DIR program executables [EPREFIX/libexec]
  30. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  31. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  32. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  33. --libdir=DIR object code libraries [EPREFIX/lib]
  34. --includedir=DIR C header files [PREFIX/include]
  35. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  36. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  37. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  38. --infodir=DIR info documentation [DATAROOTDIR/info]
  39. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  40. --mandir=DIR man documentation [DATAROOTDIR/man]
  41. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  42. --htmldir=DIR html documentation [DOCDIR]
  43. --dvidir=DIR dvi documentation [DOCDIR]
  44. --pdfdir=DIR pdf documentation [DOCDIR]
  45. --psdir=DIR ps documentation [DOCDIR]
  46. Program names:
  47. --program-prefix=PREFIX prepend PREFIX to installed program names
  48. --program-suffix=SUFFIX append SUFFIX to installed program names
  49. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  50. System types:
  51. --build=BUILD configure for building on BUILD [guessed]
  52. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  53. --target=TARGET configure for building compilers for TARGET [HOST]
  54. Optional Features:
  55. --disable-option-checking ignore unrecognized --enable/--with options
  56. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  57. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  58. --enable-as-accelerator-for=ARG
  59. build as offload target compiler. Specify offload
  60. host triple by ARG
  61. --enable-offload-targets=LIST
  62. enable offloading to devices from comma-separated
  63. LIST of TARGET[=DIR]. Use optional path to find
  64. offload target compiler during the build
  65. --enable-gold[=ARG] build gold [ARG={default,yes,no}]
  66. --enable-ld[=ARG] build ld [ARG={default,yes,no}]
  67. --enable-compressed-debug-sections={all,gas,gold,ld,none}
  68. Enable compressed debug sections for gas, gold or ld
  69. by default
  70. --disable-libquadmath do not build libquadmath directory
  71. --disable-libquadmath-support
  72. disable libquadmath support for Fortran
  73. --enable-libada build libada directory
  74. --enable-libssp build libssp directory
  75. --disable-libstdcxx do not build libstdc++-v3 directory
  76. --enable-liboffloadmic=ARG
  77. build liboffloadmic [ARG={no,host,target}]
  78. --enable-bootstrap enable bootstrapping [yes if native build]
  79. --disable-isl-version-check
  80. disable check for isl version
  81. --enable-lto enable link time optimization support
  82. --enable-linker-plugin-configure-flags=FLAGS
  83. additional flags for configuring linker plugins
  84. [none]
  85. --enable-linker-plugin-flags=FLAGS
  86. additional flags for configuring and building linker
  87. plugins [none]
  88. --enable-host-shared build host code as shared libraries
  89. --enable-stage1-languages[=all]
  90. choose additional languages to build during stage1.
  91. Mostly useful for compiler development
  92. --enable-objc-gc enable use of Boehm's garbage collector with the GNU
  93. Objective-C runtime
  94. --enable-vtable-verify Enable vtable verification feature
  95. --enable-serial-[{host,target,build}-]configure
  96. force sequential configuration of sub-packages for
  97. the host, target or build machine, or all
  98. sub-packages
  99. --enable-maintainer-mode
  100. enable make rules and dependencies not useful (and
  101. sometimes confusing) to the casual installer
  102. --enable-stage1-checking[=all]
  103. choose additional checking for stage1 of the
  104. compiler
  105. --enable-werror enable -Werror in bootstrap stage2 and later
  106. Optional Packages:
  107. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  108. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  109. --with-build-libsubdir=DIR Directory where to find libraries for build system
  110. --with-system-zlib use installed libz
  111. --with-mpc=PATH specify prefix directory for installed MPC package.
  112. Equivalent to --with-mpc-include=PATH/include plus
  113. --with-mpc-lib=PATH/lib
  114. --with-mpc-include=PATH specify directory for installed MPC include files
  115. --with-mpc-lib=PATH specify directory for the installed MPC library
  116. --with-mpfr-dir=PATH this option has been REMOVED
  117. --with-mpfr=PATH specify prefix directory for installed MPFR package.
  118. Equivalent to --with-mpfr-include=PATH/include plus
  119. --with-mpfr-lib=PATH/lib
  120. --with-mpfr-include=PATH
  121. specify directory for installed MPFR include files
  122. --with-mpfr-lib=PATH specify directory for the installed MPFR library
  123. --with-gmp-dir=PATH this option has been REMOVED
  124. --with-gmp=PATH specify prefix directory for the installed GMP
  125. package. Equivalent to
  126. --with-gmp-include=PATH/include plus
  127. --with-gmp-lib=PATH/lib
  128. --with-gmp-include=PATH specify directory for installed GMP include files
  129. --with-gmp-lib=PATH specify directory for the installed GMP library
  130. --with-stage1-libs=LIBS libraries for stage1
  131. --with-static-standard-libraries
  132. use -static-libstdc++ and -static-libgcc
  133. (default=auto)
  134. --with-stage1-ldflags=FLAGS
  135. linker flags for stage1
  136. --with-boot-libs=LIBS libraries for stage2 and later
  137. --with-boot-ldflags=FLAGS
  138. linker flags for stage2 and later
  139. --with-isl=PATH Specify prefix directory for the installed isl
  140. package. Equivalent to
  141. --with-isl-include=PATH/include plus
  142. --with-isl-lib=PATH/lib
  143. --with-isl-include=PATH Specify directory for installed isl include files
  144. --with-isl-lib=PATH Specify the directory for the installed isl library
  145. --with-target-bdw-gc=PATHLIST
  146. specify prefix directory for installed bdw-gc
  147. package. Equivalent to
  148. --with-target-bdw-gc-include=PATH/include plus
  149. --with-target-bdw-gc-lib=PATH/lib
  150. --with-target-bdw-gc-include=PATHLIST
  151. specify directories for installed bdw-gc include
  152. files
  153. --with-target-bdw-gc-lib=PATHLIST
  154. specify directories for installed bdw-gc library
  155. --with-gcc-major-version-only
  156. use only GCC major number in filesystem paths
  157. --with-build-sysroot=SYSROOT
  158. use sysroot as the system root during the build
  159. --with-debug-prefix-map='A=B C=D ...'
  160. map A to B, C to D ... in debug information
  161. --with-build-config='NAME NAME2...'
  162. use config/NAME.mk build configuration
  163. --with-build-time-tools=PATH
  164. use given path to find target tools during the build
  165. Some influential environment variables:
  166. CC C compiler command
  167. CFLAGS C compiler flags
  168. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  169. nonstandard directory <lib dir>
  170. LIBS libraries to pass to the linker, e.g. -l<library>
  171. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  172. you have headers in a nonstandard directory <include dir>
  173. CXX C++ compiler command
  174. CXXFLAGS C++ compiler flags
  175. build_configargs
  176. additional configure arguments for build directories
  177. host_configargs
  178. additional configure arguments for host directories
  179. target_configargs
  180. additional configure arguments for target directories
  181. AR AR for the host
  182. AS AS for the host
  183. DLLTOOL DLLTOOL for the host
  184. LD LD for the host
  185. LIPO LIPO for the host
  186. NM NM for the host
  187. RANLIB RANLIB for the host
  188. STRIP STRIP for the host
  189. WINDRES WINDRES for the host
  190. WINDMC WINDMC for the host
  191. OBJCOPY OBJCOPY for the host
  192. OBJDUMP OBJDUMP for the host
  193. READELF READELF for the host
  194. CC_FOR_TARGET
  195. CC for the target
  196. CXX_FOR_TARGET
  197. CXX for the target
  198. GCC_FOR_TARGET
  199. GCC for the target
  200. GFORTRAN_FOR_TARGET
  201. GFORTRAN for the target
  202. GOC_FOR_TARGET
  203. GOC for the target
  204. AR_FOR_TARGET
  205. AR for the target
  206. AS_FOR_TARGET
  207. AS for the target
  208. DLLTOOL_FOR_TARGET
  209. DLLTOOL for the target
  210. LD_FOR_TARGET
  211. LD for the target
  212. LIPO_FOR_TARGET
  213. LIPO for the target
  214. NM_FOR_TARGET
  215. NM for the target
  216. OBJCOPY_FOR_TARGET
  217. OBJCOPY for the target
  218. OBJDUMP_FOR_TARGET
  219. OBJDUMP for the target
  220. RANLIB_FOR_TARGET
  221. RANLIB for the target
  222. READELF_FOR_TARGET
  223. READELF for the target
  224. STRIP_FOR_TARGET
  225. STRIP for the target
  226. WINDRES_FOR_TARGET
  227. WINDRES for the target
  228. WINDMC_FOR_TARGET
  229. WINDMC for the target
  230. Use these variables to override the choices made by `configure' or to help
  231. it to find libraries and programs with nonstandard names/locations.
  232. Report bugs to the package provider.