X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/blobdiff_plain/e40241e4a515254ebf2b32c5dfb1d3e51d478fb6..cfd7405e19f555e36b2cc1166646155e4e6107f1:/rtems-build/arm-csb336/gcc/gcc-arm-rtems4.10.cfg diff --git a/rtems-build/arm-csb336/gcc/gcc-arm-rtems4.10.cfg b/rtems-build/arm-csb336/gcc/gcc-arm-rtems4.10.cfg new file mode 100755 index 0000000..8fc5402 --- /dev/null +++ b/rtems-build/arm-csb336/gcc/gcc-arm-rtems4.10.cfg @@ -0,0 +1,255 @@ +# `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