From: Pavel Pisa Date: Sat, 16 Apr 2016 10:02:05 +0000 (+0200) Subject: Prepare tools configurations for RTEMS 4.12 build. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/commitdiff_plain/50524c66633431809edde9557756689bae6b286d Prepare tools configurations for RTEMS 4.12 build. Signed-off-by: Pavel Pisa --- diff --git a/rtems-build/arm-rtems/binutils/binutils-arm9-rtems.cfg b/rtems-build/arm-rtems/binutils/binutils-arm-rtems.cfg similarity index 97% rename from rtems-build/arm-rtems/binutils/binutils-arm9-rtems.cfg rename to rtems-build/arm-rtems/binutils/binutils-arm-rtems.cfg index 5d70a9b..586ef76 100755 --- a/rtems-build/arm-rtems/binutils/binutils-arm9-rtems.cfg +++ b/rtems-build/arm-rtems/binutils/binutils-arm-rtems.cfg @@ -151,10 +151,14 @@ #--enable-targets=arm-rtems,arm-linux,arm-coff CFLAGS=-O2 LDFLAGS=-s \ -../../../binutils/configure \ ---target=arm-rtems4.9 \ +../../../src/binutils/configure \ +--build=x86_64-pc-linux-gnu \ +--target=arm-rtems4.12 \ --with-gnu-ld --exec-prefix=/usr --prefix=/usr \ ---verbose --disable-nls --disable-win32-registry --disable-werror \ +--verbose --disable-nls \ +--disable-win32-registry \ +--disable-werror \ +--enable-deterministic-archives \ --with-mmap --enable-64-bit-bfd \ #i586-go32, #--ieee, diff --git a/rtems-build/arm-rtems/binutils/binutils-arm-rtems4.10.cfg b/rtems-build/arm-rtems/binutils/binutils-arm-rtems4.10.cfg deleted file mode 100755 index 92a0f2d..0000000 --- a/rtems-build/arm-rtems/binutils/binutils-arm-rtems4.10.cfg +++ /dev/null @@ -1,253 +0,0 @@ -#`configure' configures this package to adapt to many kinds of systems. -#Usage: ../../../src/binutils/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. -# -#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 all the included packages -# -V, --version display version information and exit -# -q, --quiet, --silent do not print `checking...' messages -# --cache-file=FILE cache test results in FILE [disabled] -# -C, --config-cache alias for `--cache-file=config.cache' -# -n, --no-create do not 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' will install all the files in -#`/usr/local/bin', `/usr/local/lib' etc. You can specify -#an installation prefix other 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 [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 -# --program-suffix=SUFFIX append SUFFIX to installed program names -# --program-transform-name=PROGRAM run sed PROGRAM on installed program names -# -#System types: -# --build=BUILD configure for building on BUILD [guessed] -# --host=HOST cross-compile to build programs to run on HOST [BUILD] -# --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-gold[=ARG] build gold [ARG={default,yes,no}] -# --enable-ld[=ARG] build ld [ARG={default,yes,no}] -# --disable-libquadmath do not build libquadmath directory -# --disable-libquadmath-support -# disable libquadmath support for Fortran -# --enable-libada build libada directory -# --enable-libssp build libssp directory -# --enable-static-libjava[=ARG] -# build static libjava [default=no] -# --enable-bootstrap enable bootstrapping [yes if native build] -# --enable-build-with-cxx build with C++ compiler instead of C compiler -# --enable-build-poststage1-with-cxx -# build stages 2 and 3 with C++, not C -# --disable-ppl-version-check -# disable check for PPL version -# --enable-cloog-backend[=BACKEND] -# set the CLooG BACKEND used to either isl, ppl or -# ppl-legacy (default) -# --disable-cloog-version-check -# disable check for CLooG version -# --enable-lto enable link time optimization support -# --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-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: -# --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-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-dir=PATH this option has been REMOVED -# --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-dir=PATH this option has been REMOVED -# --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-host-libstdcxx=L use linker arguments L to link with libstdc++ when -# linking with PPL -# --with-stage1-ldflags=FLAGS -# linker flags for stage1 -# --with-stage1-libs=LIBS libraries for stage1 -# --with-boot-libs=LIBS libraries for stage2 and later -# --with-boot-ldflags=FLAGS -# linker flags for stage2 and later -# --with-ppl=PATH specify prefix directory for the installed PPL -# package. Equivalent to -# --with-ppl-include=PATH/include plus -# --with-ppl-lib=PATH/lib -# --with-ppl-include=PATH specify directory for installed PPL include files -# --with-ppl-lib=PATH specify directory for the installed PPL library -# --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL -# package. Equivalent to -# --with-cloog-include=PATH/include plus -# --with-cloog-lib=PATH/lib -# --with-cloog-include=PATH -# Specify directory for installed CLooG include files -# --with-cloog-lib=PATH Specify the directory for the installed CLooG -# library -# --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 -# -#Some influential environment variables: -# CC C compiler command -# CFLAGS C compiler flags -# LDFLAGS linker flags, e.g. -L if you have libraries in a -# nonstandard directory -# LIBS libraries to pass to the linker, e.g. -l -# CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if -# you have headers in a nonstandard directory -# CXX C++ compiler command -# CXXFLAGS C++ compiler flags -# build_configargs -# additional configure arguments for build directories -# host_configargs -# additional configure arguments for host directories -# target_configargs -# additional configure arguments for target directories -# AR AR for the host -# AS AS for the host -# DLLTOOL DLLTOOL for the host -# LD LD for the host -# LIPO LIPO for the host -# NM NM for the host -# RANLIB RANLIB for the host -# STRIP STRIP for the host -# WINDRES WINDRES for the host -# WINDMC WINDMC for the host -# OBJCOPY OBJCOPY for the host -# OBJDUMP OBJDUMP for the host -# READELF READELF for the host -# CC_FOR_TARGET -# CC for the target -# CXX_FOR_TARGET -# CXX for the target -# GCC_FOR_TARGET -# GCC for the target -# GCJ_FOR_TARGET -# GCJ for the target -# GFORTRAN_FOR_TARGET -# GFORTRAN for the target -# GOC_FOR_TARGET -# GOC for the target -# AR_FOR_TARGET -# AR for the target -# AS_FOR_TARGET -# AS for the target -# DLLTOOL_FOR_TARGET -# DLLTOOL for the target -# LD_FOR_TARGET -# LD for the target -# LIPO_FOR_TARGET -# LIPO for the target -# NM_FOR_TARGET -# NM for the target -# OBJDUMP_FOR_TARGET -# OBJDUMP for the target -# RANLIB_FOR_TARGET -# RANLIB for the target -# READELF_FOR_TARGET -# READELF for the target -# STRIP_FOR_TARGET -# STRIP for the target -# WINDRES_FOR_TARGET -# WINDRES for the target -# WINDMC_FOR_TARGET -# WINDMC for the target -# -#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. - -# --target=i586-pc-linux-gnulibc1 -# --target=i586-mingw32 -# --target=m68k-coff -# --target=m68k-linux-gnulibc1 -# --target=h8300-hitachi-coff -# --target=tic30-ti-coff -# --host=i586-pc-linux-gnulibc1 - -#--host=i586-pc-linux-gnu \ -#--build=x86_64-pc-linux-gnu \ -#--enable-targets=arm-rtems,arm-linux,arm-coff - -CFLAGS=-O2 LDFLAGS=-s \ -../../../binutils/configure \ ---target=arm-rtems4.10 \ ---with-gnu-ld --exec-prefix=/usr --prefix=/usr \ ---verbose --disable-nls \ ---disable-win32-registry \ ---disable-werror \ ---with-mmap --enable-64-bit-bfd \ -#i586-go32, -#--ieee, -#srec,symbolsrec,tekhex,binary,ihex,trad-core diff --git a/rtems-build/arm-rtems/binutils/binutils-arm-rtems4.11.cfg b/rtems-build/arm-rtems/binutils/binutils-arm-rtems4.11.cfg deleted file mode 100755 index 42b4a2c..0000000 --- a/rtems-build/arm-rtems/binutils/binutils-arm-rtems4.11.cfg +++ /dev/null @@ -1,253 +0,0 @@ -#`configure' configures this package to adapt to many kinds of systems. -#Usage: ../../../src/binutils/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. -# -#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 all the included packages -# -V, --version display version information and exit -# -q, --quiet, --silent do not print `checking...' messages -# --cache-file=FILE cache test results in FILE [disabled] -# -C, --config-cache alias for `--cache-file=config.cache' -# -n, --no-create do not 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' will install all the files in -#`/usr/local/bin', `/usr/local/lib' etc. You can specify -#an installation prefix other 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 [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 -# --program-suffix=SUFFIX append SUFFIX to installed program names -# --program-transform-name=PROGRAM run sed PROGRAM on installed program names -# -#System types: -# --build=BUILD configure for building on BUILD [guessed] -# --host=HOST cross-compile to build programs to run on HOST [BUILD] -# --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-gold[=ARG] build gold [ARG={default,yes,no}] -# --enable-ld[=ARG] build ld [ARG={default,yes,no}] -# --disable-libquadmath do not build libquadmath directory -# --disable-libquadmath-support -# disable libquadmath support for Fortran -# --enable-libada build libada directory -# --enable-libssp build libssp directory -# --enable-static-libjava[=ARG] -# build static libjava [default=no] -# --enable-bootstrap enable bootstrapping [yes if native build] -# --enable-build-with-cxx build with C++ compiler instead of C compiler -# --enable-build-poststage1-with-cxx -# build stages 2 and 3 with C++, not C -# --disable-ppl-version-check -# disable check for PPL version -# --enable-cloog-backend[=BACKEND] -# set the CLooG BACKEND used to either isl, ppl or -# ppl-legacy (default) -# --disable-cloog-version-check -# disable check for CLooG version -# --enable-lto enable link time optimization support -# --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-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: -# --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-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-dir=PATH this option has been REMOVED -# --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-dir=PATH this option has been REMOVED -# --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-host-libstdcxx=L use linker arguments L to link with libstdc++ when -# linking with PPL -# --with-stage1-ldflags=FLAGS -# linker flags for stage1 -# --with-stage1-libs=LIBS libraries for stage1 -# --with-boot-libs=LIBS libraries for stage2 and later -# --with-boot-ldflags=FLAGS -# linker flags for stage2 and later -# --with-ppl=PATH specify prefix directory for the installed PPL -# package. Equivalent to -# --with-ppl-include=PATH/include plus -# --with-ppl-lib=PATH/lib -# --with-ppl-include=PATH specify directory for installed PPL include files -# --with-ppl-lib=PATH specify directory for the installed PPL library -# --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL -# package. Equivalent to -# --with-cloog-include=PATH/include plus -# --with-cloog-lib=PATH/lib -# --with-cloog-include=PATH -# Specify directory for installed CLooG include files -# --with-cloog-lib=PATH Specify the directory for the installed CLooG -# library -# --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 -# -#Some influential environment variables: -# CC C compiler command -# CFLAGS C compiler flags -# LDFLAGS linker flags, e.g. -L if you have libraries in a -# nonstandard directory -# LIBS libraries to pass to the linker, e.g. -l -# CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if -# you have headers in a nonstandard directory -# CXX C++ compiler command -# CXXFLAGS C++ compiler flags -# build_configargs -# additional configure arguments for build directories -# host_configargs -# additional configure arguments for host directories -# target_configargs -# additional configure arguments for target directories -# AR AR for the host -# AS AS for the host -# DLLTOOL DLLTOOL for the host -# LD LD for the host -# LIPO LIPO for the host -# NM NM for the host -# RANLIB RANLIB for the host -# STRIP STRIP for the host -# WINDRES WINDRES for the host -# WINDMC WINDMC for the host -# OBJCOPY OBJCOPY for the host -# OBJDUMP OBJDUMP for the host -# READELF READELF for the host -# CC_FOR_TARGET -# CC for the target -# CXX_FOR_TARGET -# CXX for the target -# GCC_FOR_TARGET -# GCC for the target -# GCJ_FOR_TARGET -# GCJ for the target -# GFORTRAN_FOR_TARGET -# GFORTRAN for the target -# GOC_FOR_TARGET -# GOC for the target -# AR_FOR_TARGET -# AR for the target -# AS_FOR_TARGET -# AS for the target -# DLLTOOL_FOR_TARGET -# DLLTOOL for the target -# LD_FOR_TARGET -# LD for the target -# LIPO_FOR_TARGET -# LIPO for the target -# NM_FOR_TARGET -# NM for the target -# OBJDUMP_FOR_TARGET -# OBJDUMP for the target -# RANLIB_FOR_TARGET -# RANLIB for the target -# READELF_FOR_TARGET -# READELF for the target -# STRIP_FOR_TARGET -# STRIP for the target -# WINDRES_FOR_TARGET -# WINDRES for the target -# WINDMC_FOR_TARGET -# WINDMC for the target -# -#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. - -# --target=i586-pc-linux-gnulibc1 -# --target=i586-mingw32 -# --target=m68k-coff -# --target=m68k-linux-gnulibc1 -# --target=h8300-hitachi-coff -# --target=tic30-ti-coff -# --host=i586-pc-linux-gnulibc1 - -#--host=i586-pc-linux-gnu \ -#--enable-targets=arm-rtems,arm-linux,arm-coff -#--build=x86_64-pc-linux-gnu \ - -CFLAGS=-O2 LDFLAGS=-s \ -../../../binutils/configure \ ---target=arm-rtems4.11 \ ---with-gnu-ld --exec-prefix=/usr --prefix=/usr \ ---verbose --disable-nls \ ---disable-win32-registry \ ---disable-werror \ ---with-mmap --enable-64-bit-bfd \ -#i586-go32, -#--ieee, -#srec,symbolsrec,tekhex,binary,ihex,trad-core diff --git a/rtems-build/arm-rtems/binutils/control b/rtems-build/arm-rtems/binutils/control index fb3be8d..ffe277a 100644 --- a/rtems-build/arm-rtems/binutils/control +++ b/rtems-build/arm-rtems/binutils/control @@ -1,11 +1,10 @@ -Package: binutils-arm-rtems4.9 -Version: 2.20-1 +Package: binutils-arm-rtems4.12 +Version: 2.26-1 Architecture: amd64 -Source: binutils-2.20 +Source: binutils-2.26 Section: cross-dev Priority: extra Maintainer: Pavel Pisa -Priority: extra -Description: binutils for target arm-rtems4.9 +Description: binutils for target arm-rtems4.12 . - binutils targetting arm-rtems4.9 + binutils targetting arm-rtems4.12 diff --git a/rtems-build/arm-rtems/gcc/control b/rtems-build/arm-rtems/gcc/control index 1683aac..68271b7 100644 --- a/rtems-build/arm-rtems/gcc/control +++ b/rtems-build/arm-rtems/gcc/control @@ -1,11 +1,10 @@ -Package: gcc-arm-rtems4.9 -Version: 4.3.4-1 +Package: gcc-arm-rtems4.12 +Version: 6.0.1-1 Architecture: amd64 -Source: gcc-4.3.4 +Source: gcc-6.0.1 Section: cross-dev Priority: extra Maintainer: Pavel Pisa -Priority: extra -Description: GCC for target arm-rtems4.9 +Description: GCC for target arm-rtems4.12 . - GNU GCC targetting arm-rtems4.9 + GNU GCC targetting arm-rtems4.12 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" \ diff --git a/rtems-build/arm-rtems/gcc/gcc-arm-rtems4.10.cfg b/rtems-build/arm-rtems/gcc/gcc-arm-rtems4.10.cfg deleted file mode 100755 index 8fc5402..0000000 --- a/rtems-build/arm-rtems/gcc/gcc-arm-rtems4.10.cfg +++ /dev/null @@ -1,255 +0,0 @@ -# `configure' configures this package to adapt to many kinds of systems. -# -# Usage: ../../../src/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. -# -# 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 all the included packages -# -V, --version display version information and exit -# -q, --quiet, --silent do not print `checking...' messages -# --cache-file=FILE cache test results in FILE [disabled] -# -C, --config-cache alias for `--cache-file=config.cache' -# -n, --no-create do not 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' will install all the files in -# `/usr/local/bin', `/usr/local/lib' etc. You can specify -# an installation prefix other 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 [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 -# --program-suffix=SUFFIX append SUFFIX to installed program names -# --program-transform-name=PROGRAM run sed PROGRAM on installed program names -# -# System types: -# --build=BUILD configure for building on BUILD [guessed] -# --host=HOST cross-compile to build programs to run on HOST [BUILD] -# --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 -# --disable-largefile omit support for large files -# --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-multilib enable library support for multiple ABIs -# --enable-multiarch enable support for multiarch paths -# --enable-__cxa_atexit enable __cxa_atexit for C++ -# --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-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-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 -# --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-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-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-maintainer-mode -# enable make rules and dependencies not useful (and -# sometimes confusing) to the casual installer -# --enable-version-specific-runtime-libs -# specify that runtime libraries should be installed -# in a compiler-specific directory -# --enable-plugin enable plugin support -# --disable-libquadmath-support -# disable libquadmath support for Fortran -# -# 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-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-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-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-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-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-linker-hash-style={sysv,gnu,both} -# specify the linker hash style -# -# Some influential environment variables: -# CC C compiler command -# CFLAGS C compiler flags -# LDFLAGS linker flags, e.g. -L if you have libraries in a -# nonstandard directory -# LIBS libraries to pass to the linker, e.g. -l -# CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if -# you have headers in a nonstandard directory -# CXX C++ compiler command -# CXXFLAGS C++ compiler flags -# CPP C preprocessor -# CXXCPP 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 -# -# 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 -# --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions -# --enable-languages=c,c++,f77,objc,java --host=i586-mandrake-linux-gnu -# --with-system-zlib -# --with-sysroot=DIR --with-headers=DIR --without-headers --with-libs=``DIR1 DIR2 ... DIRN'' -# -# ../gcc-3.4.0/configure --target=arm-linux --prefix=/usr/local/arm920/3.4.0 --host=i686-pc-linux-gnu --with-cpu=arm9 \ -# --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include --disable-shared --disable-threads --enable-languages=c \ -# --with-float=soft --disable-nls --enable--symvers=gnu --enable-__cxa_atexit -# make -# make install -# -# ../glibc-2.3.2/configure --host=arm-linux --build=i686-pc-linux-gnu \ -# --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 -# make -# make install - -# --host=i586-pc-linux-gnu \ -# --build=x86_64-pc-linux-gnu \ - -CFLAGS="-O2 -pipe" LDFLAGS=-s \ -../../../src/gcc/configure --target=arm-rtems4.10 --prefix=/usr \ - --enable-languages=c,c++ \ - --disable-libstdcxx-pch \ - --with-gnu-ld \ - --with-gnu-as \ - --enable-threads=rtems \ - --enable-target-optspace \ - --with-system-zlib \ - --verbose \ - --disable-nls --without-included-gettext \ - --disable-win32-registry \ - --with-newlib \ - --enable-newlib-io-c99-formats \ - --enable-version-specific-runtime-libs \ - --enable-newlib-iconv \ - --disable-lto \ - --without-ppl \ - --without-cloog diff --git a/rtems-build/arm-rtems/gcc/gcc-arm9-rtems.cfg b/rtems-build/arm-rtems/gcc/gcc-arm9-rtems.cfg deleted file mode 100755 index feeaab9..0000000 --- a/rtems-build/arm-rtems/gcc/gcc-arm9-rtems.cfg +++ /dev/null @@ -1,175 +0,0 @@ -# `configure' configures this package to adapt to many kinds of systems. -# -# Usage: ../../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. -# -# 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 all the included packages -# -V, --version display version information and exit -# -q, --quiet, --silent do not print `checking...' messages -# --cache-file=FILE cache test results in FILE [disabled] -# -C, --config-cache alias for `--cache-file=config.cache' -# -n, --no-create do not 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' will install all the files in -# `/usr/local/bin', `/usr/local/lib' etc. You can specify -# an installation prefix other 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] -# --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] -# -# Program names: -# --program-prefix=PREFIX prepend PREFIX to installed program names -# --program-suffix=SUFFIX append SUFFIX to installed program names -# --program-transform-name=PROGRAM run sed PROGRAM on installed program names -# -# System types: -# --build=BUILD configure for building on BUILD [guessed] -# --host=HOST cross-compile to build programs to run on HOST [BUILD] -# --target=TARGET configure for building compilers for TARGET [HOST] -# -# Optional Features: -# --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 -# --enable-multilib enable library support for multiple ABIs -# --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 -# --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-sjlj-exceptions -# arrange to use setjmp/longjmp exception handling -# --enable-libunwind-exceptions force use libunwind for exceptions -# --disable-win32-registry -# 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-maintainer-mode -# enable make rules and dependencies not useful -# (and sometimes confusing) to the casual installer -# --enable-version-specific-runtime-libs -# specify that runtime libraries should be -# installed in a compiler-specific directory -# -# Optional Packages: -# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] -# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) -# --with-local-prefix=DIR specifies directory to put local include -# --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-ld arrange to use the specified ld (full pathname) -# --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-system-zlib use installed libz -# --with-slibdir=DIR shared libraries in DIR LIBDIR -# -# Some influential environment variables: -# CC C compiler command -# CFLAGS C compiler flags -# LDFLAGS linker flags, e.g. -L if you have libraries in a -# nonstandard directory -# CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have -# headers in a nonstandard directory -# CPP C preprocessor -# -# Use these variables to override the choices made by `configure' or to help -# it to find libraries and programs with nonstandard names/locations. -# -# ../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 -# --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions -# --enable-languages=c,c++,f77,objc,java --host=i586-mandrake-linux-gnu -# --with-system-zlib -# --with-sysroot=DIR --with-headers=DIR --without-headers --with-libs=``DIR1 DIR2 ... DIRN'' -# -# ../gcc-3.4.0/configure --target=arm-linux --prefix=/usr/local/arm920/3.4.0 --host=i686-pc-linux-gnu --with-cpu=arm9 \ -# --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include --disable-shared --disable-threads --enable-languages=c \ -# --with-float=soft --disable-nls --enable--symvers=gnu --enable-__cxa_atexit -# make -# make install -# -# ../glibc-2.3.2/configure --host=arm-linux --build=i686-pc-linux-gnu \ -# --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 -# make -# make install - -# --host=i586-pc-linux-gnu \ - -../../../gcc/configure --target=arm-rtems4.9 --prefix=/usr \ - --with-cpu=arm9 \ - --enable-languages=c,c++ \ - --disable-libstdcxx-pch \ - --with-gnu-ld \ - --with-gnu-as \ - --with-float=soft \ - --enable-threads=rtems \ - --enable-target-optspace \ - --verbose \ - --disable-nls --without-included-gettext \ - --disable-win32-registry \ - --with-newlib \ - --enable-newlib-io-c99-formats \ - --enable-version-specific-runtime-libs diff --git a/rtems-build/i386-rtems/binutils/binutils-i386-rtems.cfg b/rtems-build/i386-rtems/binutils/binutils-i386-rtems.cfg index c90af35..c742d08 100755 --- a/rtems-build/i386-rtems/binutils/binutils-i386-rtems.cfg +++ b/rtems-build/i386-rtems/binutils/binutils-i386-rtems.cfg @@ -149,13 +149,16 @@ #--host=i586-pc-linux-gnu \ #--enable-targets=arm-rtems,arm-linux,arm-coff -#--build=x86_64-pc-linux-gnu \ CFLAGS=-O2 LDFLAGS=-s \ ../../../src/binutils/configure \ ---target=i386-rtems4.11 \ +--build=x86_64-pc-linux-gnu \ +--target=i386-rtems4.12 \ --with-gnu-ld --exec-prefix=/usr --prefix=/usr \ ---verbose --disable-nls --disable-win32-registry --disable-werror \ +--verbose --disable-nls \ +--disable-win32-registry \ +--disable-werror \ +--enable-deterministic-archives \ --with-mmap --enable-64-bit-bfd \ #i586-go32, #--ieee, diff --git a/rtems-build/i386-rtems/binutils/control b/rtems-build/i386-rtems/binutils/control new file mode 100644 index 0000000..7ddd6bd --- /dev/null +++ b/rtems-build/i386-rtems/binutils/control @@ -0,0 +1,10 @@ +Package: binutils-i386-rtems4.12 +Version: 2.26-1 +Architecture: amd64 +Source: binutils-2.26 +Section: cross-dev +Priority: extra +Maintainer: Pavel Pisa +Description: binutils for target i386-rtems4.12 + . + binutils targetting i386-rtems4.12 diff --git a/rtems-build/i386-rtems/gcc/control b/rtems-build/i386-rtems/gcc/control new file mode 100644 index 0000000..b0a3124 --- /dev/null +++ b/rtems-build/i386-rtems/gcc/control @@ -0,0 +1,10 @@ +Package: gcc-i386-rtems4.12 +Version: 6.0.1-1 +Architecture: amd64 +Source: gcc-6.0.1 +Section: cross-dev +Priority: extra +Maintainer: Pavel Pisa +Description: GCC for target i386-rtems4.12 + . + GNU GCC targetting i386-rtems4.12 diff --git a/rtems-build/i386-rtems/gcc/gcc-i386-rtems.cfg b/rtems-build/i386-rtems/gcc/gcc-i386-rtems.cfg index 0f128c5..de87b63 100755 --- a/rtems-build/i386-rtems/gcc/gcc-i386-rtems.cfg +++ b/rtems-build/i386-rtems/gcc/gcc-i386-rtems.cfg @@ -1,6 +1,6 @@ # `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. @@ -32,18 +32,25 @@ # 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 @@ -56,85 +63,184 @@ # --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 if you have libraries in a # nonstandard directory -# CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have -# headers in a nonstandard directory +# LIBS libraries to pass to the linker, e.g. -l +# CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if +# you have headers in a nonstandard directory +# 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 @@ -157,10 +263,10 @@ # make install # --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 \ + --build=x86_64-pc-linux-gnu \ + --enable-languages=c,c++ \ --disable-libstdcxx-pch \ --with-gnu-ld \ --with-gnu-as \ @@ -179,3 +285,7 @@ --disable-multilib \ --disable-softfloat \ --with-cpu=i586 \ + --enable-libgomp \ + --enable-newlib-iconv \ + --enable-newlib-iconv-encodings="iso_8859_1,utf_8" \ +