# `configure' configures this package to adapt to many kinds of systems.
#
-# Usage: ../../gcc/configure [OPTION]... [VAR=VALUE]...
+# Usage: ../../../src/gcc-6.1/gcc/configure [OPTION]... [VAR=VALUE]...
#
# To assign environment variables (e.g., CC, CFLAGS...), specify them as
# VAR=VALUE. See below for descriptions of some of the useful variables.
# 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]
-# --datadir=DIR read-only architecture-independent data [PREFIX/share]
-# --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
-# --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
-# --localstatedir=DIR modifiable single-machine data [PREFIX/var]
-# --libdir=DIR object code libraries [EPREFIX/lib]
-# --includedir=DIR C header files [PREFIX/include]
-# --oldincludedir=DIR C header files for non-gcc [/usr/include]
-# --infodir=DIR info documentation [PREFIX/info]
-# --mandir=DIR man documentation [PREFIX/man]
+# --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 [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+# --libdir=DIR object code libraries [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/man]
+# --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
+# --htmldir=DIR html documentation [DOCDIR]
+# --dvidir=DIR dvi documentation [DOCDIR]
+# --pdfdir=DIR pdf documentation [DOCDIR]
+# --psdir=DIR ps documentation [DOCDIR]
#
# Program names:
# --program-prefix=PREFIX prepend PREFIX to installed program names
# --target=TARGET configure for building compilers for TARGET [HOST]
#
# Optional Features:
+# --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-generated-files-in-srcdir
-# put copies of generated files in source dir
-# intended for creating source tarballs for users
-# without texinfo bison or flex.
-# --enable-werror enable -Werror in bootstrap stage2 and later
-# --enable-checking=LIST
-# enable expensive run-time checks. With LIST,
-# enable only specific categories of checks.
-# Categories are: misc,tree,rtl,rtlflag,gc,gcac,fold;
-# default is no checking
-# --enable-coverage=LEVEL
-# enable compiler\'s code coverage collection.
-# Use to measure compiler performance and locate
-# unused parts of the compiler. With LEVEL, specify
-# optimization. Values are opt, noopt,
-# default is noopt
-# --enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering
+# put copies of generated files in source dir intended
+# for creating source tarballs for users without
+# texinfo bison or flex
+# --disable-largefile omit support for large files
+# --disable-build-format-warnings
+# don't use -Wformat while building GCC
+# --enable-werror-always enable -Werror despite compiler version
+# --enable-checking[=LIST]
+# enable expensive run-time checks. With LIST, enable
+# only specific categories of checks. Categories are:
+# yes,no,all,none,release. Flags are:
+# assert,df,fold,gc,gcac,gimple,misc,
+# rtlflag,rtl,runtime,tree,valgrind,types
+# --enable-coverage[=LEVEL]
+# enable compiler's code coverage collection. Use to
+# measure compiler performance and locate unused parts
+# of the compiler. With LEVEL, specify optimization.
+# Values are opt, noopt, default is noopt
+# --enable-gather-detailed-mem-stats
+# enable detailed memory allocation stats gathering
+# --enable-valgrind-annotations
+# enable valgrind runtime interaction
# --enable-multilib enable library support for multiple ABIs
+# --enable-multiarch enable support for multiarch paths
# --enable-__cxa_atexit enable __cxa_atexit for C++
-# --enable-threads enable thread usage for target GCC
-# --enable-threads=LIB use LIB thread package for target GCC
-# --enable-objc-gc enable the use of Boehm's garbage collector with
-# the GNU Objective-C runtime
+# --enable-decimal-float={no,yes,bid,dpd}
+# enable decimal float extension to C. Selecting 'bid'
+# or 'dpd' choses which decimal floating point format
+# to use
+# --enable-fixed-point enable fixed-point arithmetic extension to C
+# --enable-threads[=LIB] enable thread usage for target GCC, using LIB thread
+# package
+# --enable-tls enable or disable generation of tls code overriding
+# the assembler check for tls support
+# --enable-objc-gc enable the use of Boehm's garbage collector with the
+# GNU Objective-C runtime
# --disable-shared don't provide a shared libgcc
-# --enable-intermodule build the compiler in one step
-# --enable-initfini-array use .init_array/.fini_array sections
+# --enable-languages=LIST specify which front-ends to build
+# --disable-rpath do not hardcode runtime library paths
# --enable-sjlj-exceptions
# arrange to use setjmp/longjmp exception handling
-# --enable-libunwind-exceptions force use libunwind for exceptions
+# --enable-secureplt enable -msecure-plt by default for PowerPC
+# --enable-leading-mingw64-underscores
+# enable leading underscores on 64 bit mingw targets
+# --enable-cld enable -mcld by default for 32bit x86
+# --enable-frame-pointer enable -fno-omit-frame-pointer by default for 32bit
+# x86
# --disable-win32-registry
-# disable lookup of installation paths in the
-# Registry on Windows hosts
+# disable lookup of installation paths in the Registry
+# on Windows hosts
# --enable-win32-registry enable registry lookup (default)
# --enable-win32-registry=KEY
# use KEY instead of GCC version as the last portion
# of the registry key
+# --enable-shared[=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 avoid locking (might break parallel builds)
+# --enable-ld[=ARG] build ld [ARG={default,yes,no}]
+# --enable-gold[=ARG] build gold [ARG={default,yes,no}]
+# --enable-gnu-indirect-function
+# enable the use of the @gnu_indirect_function to
+# glibc systems
+# --enable-initfini-array use .init_array/.fini_array sections
+# --enable-comdat enable COMDAT group support
+#
+# --enable-fix-cortex-a53-835769
+# enable workaround for AArch64 Cortex-A53 erratum
+# 835769 by default
+# --disable-fix-cortex-a53-835769
+# disable workaround for AArch64 Cortex-A53 erratum
+# 835769 by default
+#
+#
+# --enable-fix-cortex-a53-843419
+# enable workaround for AArch64 Cortex-A53 erratum
+# 843419 by default
+# --disable-fix-cortex-a53-843419
+# disable workaround for AArch64 Cortex-A53 erratum
+# 843419 by default
+#
+# --enable-gnu-unique-object
+# enable the use of the @gnu_unique_object ELF
+# extension on glibc systems
+# --enable-linker-build-id
+# compiler will always pass --build-id to linker
+# --enable-default-ssp enable Stack Smashing Protection as default
# --enable-maintainer-mode
-# enable make rules and dependencies not useful
-# (and sometimes confusing) to the casual installer
+# enable make rules and dependencies not useful (and
+# sometimes confusing) to the casual installer
+# --enable-link-mutex avoid linking multiple front-ends at once to avoid
+# thrashing on the build machine
# --enable-version-specific-runtime-libs
-# specify that runtime libraries should be
-# installed in a compiler-specific directory
+# specify that runtime libraries should be installed
+# in a compiler-specific directory
+# --enable-plugin enable plugin support
+# --enable-host-shared build host code as shared libraries
+# --disable-libquadmath-support
+# disable libquadmath support for Fortran
+# --enable-default-pie enable Position Independent Executable as default
#
# Optional Packages:
# --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-local-prefix=DIR specifies directory to put local include
+# --with-native-system-header-dir=dir
+# use dir as the directory to look for standard
+# system header files in. Defaults to /usr/include.
+# --with-build-sysroot=sysroot
+# use sysroot as the system root during the build
+# --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR
# --with-gxx-include-dir=DIR
# specifies directory to put g++ header files
# --with-cpp-install-dir=DIR
# install the user visible C preprocessor in DIR
# (relative to PREFIX) as well as PREFIX/bin
-# --with-gnu-ld arrange to work with GNU ld.
+# --with-gnu-ld arrange to work with GNU ld
# --with-ld arrange to use the specified ld (full pathname)
+# --with-demangler-in-ld try to use demangler in GNU ld
# --with-gnu-as arrange to work with GNU as
# --with-as arrange to use the specified as (full pathname)
# --with-stabs arrange to use stabs instead of host debug format
# --with-dwarf2 force the default debug format to be DWARF 2
-# --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
-# --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
-# --with-gc={simple,page,zone} choose the garbage collection mechanism to use
-# with the compiler
+# --with-specs=SPECS add SPECS to driver command-line processing
+# --with-pkgversion=PKG Use PKG in the version string in place of "GCC"
+# --with-bugurl=URL Direct users to URL to report a bug
+# --with-multilib-list select multilibs (AArch64, SH and x86-64 only)
+# --with-gnu-ld assume the C compiler uses GNU ld default=no
+# --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
+# --without-libiconv-prefix don't search for libiconv in includedir and libdir
+# --with-pic try to use only PIC/non-PIC objects [default=use
+# both]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --with-plugin-ld=[ARG] specify the plugin linker
+# --with-glibc-version=M.N
+# assume GCC used with glibc version M.N or later
+# --with-long-double-128 use 128-bit long double by default
+# --with-gc={page,zone} this option is not supported anymore. It used to
+# choose the garbage collection mechanism to use with
+# the compiler
# --with-system-zlib use installed libz
-# --with-slibdir=DIR shared libraries in DIR LIBDIR
+# --with-linker-hash-style={sysv,gnu,both}
+# specify the linker hash style
+# --with-diagnostics-color={never,auto,auto-if-env,always}
+# specify the default of -fdiagnostics-color option
+# auto-if-env stands for -fdiagnostics-color=auto if
+# GCC_COLOR environment variable is present and
+# -fdiagnostics-color=never otherwise
#
# Some influential environment 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>
-# CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
-# headers in a nonstandard directory <include 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
+# you have headers in a nonstandard directory <include dir>
+# CXX C++ compiler command
+# CXXFLAGS C++ compiler flags
+# CXXCPP C++ preprocessor
# CPP C preprocessor
+# GMPLIBS How to link GMP
+# GMPINC How to find GMP include files
+# ISLLIBS How to link isl
+# ISLINC How to find isl include files
#
# Use these variables to override the choices made by `configure' or to help
# it to find libraries and programs with nonstandard names/locations.
#
+# Report bugs to the package provider.
+#
+
# ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib
# --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
# --enable-threads=posix --disable-checking --enable-long-long
# make
# make install
-# --host=i586-pc-linux-gnu \
-# --build=x86_64-pc-linux-gnu \
+# --host=i586-pc-linux-gnu \
+ --build=x86_64-pc-linux-gnu \
-../../../src/gcc-4.9/configure --target=i386-rtems4.11 --prefix=/usr \
- --enable-languages=c,c++ \
+../../../src/gcc-6.1/configure --target=i386-rtems4.12 --prefix=/usr \
+ --enable-languages=c,c++ \
--disable-libstdcxx-pch \
--with-gnu-ld \
--with-gnu-as \
--disable-multilib \
--disable-softfloat \
--with-cpu=i586 \
+ --enable-libgomp \
+ --enable-newlib-iconv \
+ --enable-newlib-iconv-encodings="iso_8859_1,utf_8" \
+