X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/blobdiff_plain/189c0cf3e91ec7f257db4451634b36864ee47074:/rtems-build/arm-rtems/gcc/gcc-arm-rtems4.11.cfg..50524c66633431809edde9557756689bae6b286d:/rtems-build/arm-rtems/gcc/gcc-arm-rtems.cfg diff --git a/rtems-build/arm-rtems/gcc/gcc-arm-rtems4.11.cfg b/rtems-build/arm-rtems/gcc/gcc-arm-rtems.cfg similarity index 85% rename from rtems-build/arm-rtems/gcc/gcc-arm-rtems4.11.cfg rename to rtems-build/arm-rtems/gcc/gcc-arm-rtems.cfg index 429ad77..b019ea7 100755 --- a/rtems-build/arm-rtems/gcc/gcc-arm-rtems4.11.cfg +++ b/rtems-build/arm-rtems/gcc/gcc-arm-rtems.cfg @@ -1,6 +1,6 @@ # `configure' configures this package to adapt to many kinds of systems. # -# Usage: ../../../src/gcc-4.8/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. @@ -71,6 +71,8 @@ # 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 @@ -85,6 +87,8 @@ # 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++ @@ -122,31 +126,60 @@ # --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-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 # --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 @@ -159,16 +192,10 @@ # --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-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-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 (SH and x86-64 only) +# --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 @@ -176,6 +203,8 @@ # 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 @@ -183,6 +212,11 @@ # --with-system-zlib use installed libz # --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 @@ -194,20 +228,18 @@ # you have headers in a nonstandard directory # CXX C++ compiler command # CXXFLAGS C++ compiler flags -# CPP C preprocessor # 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 -# CLOOGLIBS How to link CLOOG -# CLOOGINC How to find CLOOG 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 @@ -227,17 +259,13 @@ # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include \ # --enable-add-ons=linuxthreads --enable-shared --prefix=/usr/local/arm920/3.4.0 \ # --with-cpu=arm9 --without-fp --enable-kernel=2.6.6 -# --with-cpu=arm9 --with-float=soft -# --disable-plugin --enable-obsolete -#--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 # make # make install # --host=i586-pc-linux-gnu \ -# --build=x86_64-pc-linux-gnu \ -CFLAGS="-O2 -pipe" LDFLAGS=-s \ -../../../src/gcc-4.9/configure --target=arm-rtems4.11 --prefix=/usr \ +../../../src/gcc-6.1/configure --target=arm-rtems4.12 --prefix=/usr \ + --build=x86_64-pc-linux-gnu \ --enable-languages=c,c++ \ --disable-libstdcxx-pch \ --with-gnu-ld \ @@ -254,4 +282,7 @@ CFLAGS="-O2 -pipe" LDFLAGS=-s \ --enable-version-specific-runtime-libs \ --enable-newlib-iconv \ --disable-lto \ + --enable-libgomp \ + --enable-newlib-iconv \ + --enable-newlib-iconv-encodings="iso_8859_1,utf_8" \