Optional Features: | Description |
---|---|
--disable-option-checking |
ignore unrecognized --enable /--with options |
--disable-FEATURE |
do not include FEATURE (same as --enable-FEATURE=no ) |
--enable-FEATURE[=ARG] |
include FEATURE [ARG=yes] |
--enable-as-accelerator-for=ARG |
build as offload target compiler. Specify offload host triple by ARG |
--enable-offload-targets=LIST |
enable offloading to devices from comma-separated LIST of TARGET[=DIR] . Use optional path to find offload target compiler during the build |
--enable-offload-defaulted |
If enabled, configured but not installed offload compilers and libgomp plugins are silently ignored. Useful for distribution compilers where those are in separate optional packages. |
--enable-gold[=ARG] |
build gold [ARG={default,yes,no}] |
--enable-ld[=ARG] |
build ld [ARG={default,yes,no}] |
--disable-gprofng |
do not build gprofng |
--enable-compressed-debug-sections={all,gas,gold,ld,none} |
Enable compressed debug sections for gas , gold or ld by default |
--enable-default-compressed-debug-sections-algorithm={zlib,zstd} |
Default compression algorithm for --enable-compressed-debug-sections . |
--enable-year2038 |
enable support for timestamps past the year 2038 |
--disable-libquadmath |
do not build libquadmath directory |
--disable-libquadmath-support |
disable libquadmath support for Fortran |
--enable-libada |
build libada directory |
--enable-libgm2 |
build libgm2 directory |
--enable-libssp |
build libssp directory |
--disable-libstdcxx |
do not build libstdc++-v3 directory |
--enable-bootstrap |
enable bootstrapping [yes if native build] |
--enable-pgo-build[=lto] |
enable the PGO build |
--disable-isl-version-check |
disable check for isl version |
--enable-lto |
enable link time optimization support |
--enable-linker-plugin-configure-flags=FLAGS |
additional flags for configuring linker plugins [none] |
--enable-linker-plugin-flags=FLAGS |
additional flags for configuring and building linker plugins [none] |
--enable-host-pie |
build position independent host executables |
--enable-host-shared |
build host code as shared libraries |
--enable-libgdiagnostics |
build libgdiagnostics shared library |
--enable-stage1-languages[=all] |
choose additional languages to build during stage1. Mostly useful for compiler development |
--enable-objc-gc |
enable use of Boehm's garbage collector with the GNU Objective-C runtime |
--enable-vtable-verify |
Enable vtable verification feature |
--enable-serial-[{host,target,build}-]configure |
force sequential configuration of sub-packages for the host, target or build machine, or all sub-packages |
--enable-maintainer-mode |
enable make rules and dependencies not useful (and sometimes confusing) to the casual installer |
--enable-stage1-checking[=all] |
choose additional checking for stage1 of the compiler |
--enable-werror |
enable -Werror in bootstrap stage2 and later |
Optional Packages: | Description |
---|---|
--with-PACKAGE[=ARG] |
use PACKAGE [ARG=yes] |
--without-PACKAGE |
do not use PACKAGE (same as --with-PACKAGE=no) |
--with-build-libsubdir=DIR |
Directory where to find libraries for build system |
--with-system-zlib |
use installed libz |
--with-zstd |
Support zstd compressed debug sections (default=auto) |
--with-mpc=PATH |
specify prefix directory for installed MPC package. Equivalent to --with-mpc-include=PATH/include plus --with-mpc-lib=PATH/lib |
--with-mpc-include=PATH |
specify directory for installed MPC include files |
--with-mpc-lib=PATH |
specify directory for the installed MPC library |
--with-mpfr=PATH |
specify prefix directory for installed MPFR package. Equivalent to --with-mpfr-include=PATH/include plus --with-mpfr-lib=PATH/lib |
--with-mpfr-include=PATH |
specify directory for installed MPFR include files |
--with-mpfr-lib=PATH |
specify directory for the installed MPFR library |
--with-gmp=PATH |
specify prefix directory for the installed GMP package. Equivalent to --with-gmp-include=PATH/include plus --with-gmp-lib=PATH/lib |
--with-gmp-include=PATH |
specify directory for installed GMP include files |
--with-gmp-lib=PATH |
specify directory for the installed GMP library |
--with-stage1-libs=LIBS |
libraries for stage1 |
--with-static-standard-libraries |
use -static-libstdc++ and -static-libgcc (default=auto) |
--with-stage1-ldflags=FLAGS |
linker flags for stage1 |
--with-boot-libs=LIBS |
libraries for stage2 and later |
--with-boot-ldflags=FLAGS |
linker flags for stage2 and later |
--with-isl=PATH |
Specify prefix directory for the installed isl package. Equivalent to --with-isl-include=PATH/include plus --with-isl-lib=PATH/lib |
--with-isl-include=PATH |
Specify directory for installed isl include files |
--with-isl-lib=PATH |
Specify the directory for the installed isl library |
--with-target-bdw-gc=PATHLIST |
specify prefix directory for installed bdw-gc package. Equivalent to --with-target-bdw-gc-include=PATH/include plus --with-target-bdw-gc-lib=PATH/lib |
--with-target-bdw-gc-include=PATHLIST |
specify directories for installed bdw-gc include files |
--with-target-bdw-gc-lib=PATHLIST |
specify directories for installed bdw-gc library |
--with-gcc-major-version-only |
use only GCC major number in filesystem paths |
--with-build-sysroot=SYSROOT |
use sysroot as the system root during the build |
--with-debug-prefix-map='A=B C=D ...' |
map A to B, C to D ... in debug information |
--with-build-config='NAME NAME2...' |
use config/NAME.mk build configuration |
--with-build-time-tools=PATH |
use given path to find target tools during the build |