--- /dev/null
+#Usage: configure [OPTIONS] [HOST]
+#
+#Options: [defaults in brackets]
+# --prefix=MYDIR install into MYDIR [/usr/local]
+# --exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local]
+# --help print this message [normal config]
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [determined via config.guess]
+# --norecursion configure this directory only [recurse]
+# --program-prefix=FOO prepend FOO to installed program names [""]
+# --program-suffix=FOO append FOO to installed program names [""]
+# --program-transform-name=P transform installed names by sed pattern P [""]
+# --site=SITE configure with site-specific makefile for SITE
+# --srcdir=DIR find the sources in DIR [. or ..]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+# --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]
+# --nfp configure for software floating point [hard float]
+# --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)
+# --without-FOO package FOO is NOT available
+# --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)
+# --disable-FOO do not include feature FOO
+#
+#Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.
+#
+#Usage: configure [options] [host]
+#Options: [defaults in brackets after descriptions]
+#Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+#Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+#Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+#Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+#--enable and --with options recognized:
+# --enable-shared[=PKGS] build shared libraries [default=no]
+# --enable-static[=PKGS] build static libraries [default=yes]
+# --enable-fast-install[=PKGS] optimize for fast installation [default=yes]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --disable-libtool-lock avoid locking (might break parallel builds)
+# --with-pic try to use only PIC/non-PIC objects [default=use both]
+# --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+# --enable-targets alternative target configurations
+# --enable-commonbfdlib build shared BFD/opcodes/libiberty library
+# --with-mmap try using mmap for BFD input files if available
+# --enable-build-warnings Enable build-time compiler warnings if gcc is used
+# --enable-maintainer-mode enable make rules and dependencies not useful
+# (and sometimes confusing) to the casual installer
+# --disable-nls do not use Native Language Support
+# --with-included-gettext use the GNU gettext library included here
+#Usage: configure [options] [host]
+#Options: [defaults in brackets after descriptions]
+#Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+#Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+#Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+#Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+#--enable and --with options recognized:
+# --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]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --disable-libtool-lock avoid locking (might break parallel builds)
+# --with-pic try to use only PIC/non-PIC objects [default=use both]
+# --enable-targets alternative target configurations
+# --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+# --enable-build-warnings Enable build-time compiler warnings if gcc is used
+# --disable-nls do not use Native Language Support
+# --with-included-gettext use the GNU gettext library included here
+# --enable-maintainer-mode enable make rules and dependencies not useful
+# (and sometimes confusing) to the casual installer
+
+# --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
+CFLAGS=-O2 LDFLAGS=-s \
+../../../binutils/configure \
+--host=i586-pc-linux-gnu \
+--target=arm-rtems \
+--with-gnu-ld --exec-prefix=/usr --prefix=/usr \
+--enable-shared --enable-commonbfdlib --verbose \
+--with-mmap --enable-64-bit-bfd \
+--enable-targets=i586-pc-linux-gnu,i586-pc-linux-gnulibc1,\
+i386-coff,i586-msdosdjgpp,\
+m68k-linux-elf,m68k-rtems,m68k-coff,m68k-a.out-linux,\
+powerpc-rtems,powerpc-linux,m68hc11-elf,m68hc12-elf,\
+h8300-coff,h8300-elf,sh-coff,sh-rtemself,sh64-linux,\
+or32-elf,openrisc-elf,alpha-linux-gnu,\
+ia64-linux-gnu,x86_64-linux-gnu,\
+arm-rtems,arm-linux,arm-pe,arm-coff,avr-elf,\
+sparc-linux-elf,i586-win-pe,\
+tic30-ti-coff,tic30-ti-aout,tic4x-ti-coff,tic54x-ti-coff,msp430
+#i586-go32,
+#--ieee,
+#srec,symbolsrec,tekhex,binary,ihex,trad-core
--- /dev/null
+# `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<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>
+# 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
+
+../../../gcc/configure --target=arm-rtems --prefix=/usr \
+ --with-cpu=arm9 \
+ --enable-languages=c,c++ \
+ --with-gnu-ld \
+ --with-float=soft \
+ --enable-threads=rtems \
+ --enable-target-optspace \
+ --verbose \
+ --disable-nls \
+ --host=i586-pc-linux-gnu \
+ --with-newlib
--- /dev/null
+#Usage: configure [OPTIONS] [HOST]
+#
+#Options: [defaults in brackets]
+# --prefix=MYDIR install into MYDIR [/usr/local]
+# --exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local]
+# --help print this message [normal config]
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [determined via config.guess]
+# --norecursion configure this directory only [recurse]
+# --program-prefix=FOO prepend FOO to installed program names [""]
+# --program-suffix=FOO append FOO to installed program names [""]
+# --program-transform-name=P transform installed names by sed pattern P [""]
+# --site=SITE configure with site-specific makefile for SITE
+# --srcdir=DIR find the sources in DIR [. or ..]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+# --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]
+# --nfp configure for software floating point [hard float]
+# --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)
+# --without-FOO package FOO is NOT available
+# --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)
+# --disable-FOO do not include feature FOO
+#
+#Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.
+#
+#Usage: configure [options] [host]
+#Options: [defaults in brackets after descriptions]
+#Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+#Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+#Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+#Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+#--enable and --with options recognized:
+# --enable-shared[=PKGS] build shared libraries [default=no]
+# --enable-static[=PKGS] build static libraries [default=yes]
+# --enable-fast-install[=PKGS] optimize for fast installation [default=yes]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --disable-libtool-lock avoid locking (might break parallel builds)
+# --with-pic try to use only PIC/non-PIC objects [default=use both]
+# --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+# --enable-targets alternative target configurations
+# --enable-commonbfdlib build shared BFD/opcodes/libiberty library
+# --with-mmap try using mmap for BFD input files if available
+# --enable-build-warnings Enable build-time compiler warnings if gcc is used
+# --enable-maintainer-mode enable make rules and dependencies not useful
+# (and sometimes confusing) to the casual installer
+# --disable-nls do not use Native Language Support
+# --with-included-gettext use the GNU gettext library included here
+#Usage: configure [options] [host]
+#Options: [defaults in brackets after descriptions]
+#Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+#Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+#Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+#Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+#--enable and --with options recognized:
+# --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]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --disable-libtool-lock avoid locking (might break parallel builds)
+# --with-pic try to use only PIC/non-PIC objects [default=use both]
+# --enable-targets alternative target configurations
+# --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+# --enable-build-warnings Enable build-time compiler warnings if gcc is used
+# --disable-nls do not use Native Language Support
+# --with-included-gettext use the GNU gettext library included here
+# --enable-maintainer-mode enable make rules and dependencies not useful
+# (and sometimes confusing) to the casual installer
+
+# --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
+CFLAGS=-O2 LDFLAGS=-s \
+../../../binutils/configure \
+--host=i586-pc-linux-gnu \
+--target=m68k-rtems \
+--with-gnu-ld --exec-prefix=/usr --prefix=/usr \
+--enable-shared --enable-commonbfdlib --verbose \
+--with-mmap --enable-64-bit-bfd \
+--enable-targets=i586-pc-linux-gnu,i586-pc-linux-gnulibc1,\
+i386-coff,i586-msdosdjgpp\
+m68k-linux-elf,m68k-coff,m68k-a.out-linux,\
+powerpc-rtems,m68hc11-elf,m68hc12-elf,\
+h8300-coff,sh-coff,sh-rtemself,\
+sparc-linux-elf,i586-win-pe,tic30-ti-coff,tic30-ti-aout
+#i586-go32,
+#--ieee,
+#srec,symbolsrec,tekhex,binary,ihex,trad-core
--- /dev/null
+# Usage: configure [options] [host]
+# Options: [defaults in brackets after descriptions]
+# Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+# Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+# Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+# Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+# --enable and --with options recognized:
+# --with-gnu-ld arrange to work with GNU ld.
+# --with-gnu-as arrange to work with GNU as.
+# --with-stabs arrange to use stabs instead of host debug format.
+# --with-elf arrange to use ELF instead of host debug format.
+# --with-local-prefix=DIR specifies directory to put local include.
+# --with-gxx-include-dir=DIR
+# specifies directory to put g++ header files.
+# --enable-checking enable expensive run-time checks.
+# --enable-c-cpplib Use cpplib for C.
+# --enable-haifa Use the experimental scheduler.
+# --disable-haifa Don't use the experimental scheduler for the
+# targets which normally enable it.
+# --with-fast-fixincludes Use a faster fixinclude program. Experimental
+# --enable-threads enable thread usage for target GCC.
+# --enable-threads=LIB use LIB thread package for target GCC.
+#
+
+# *-*-gnu*)
+# *-*-linux-gnu*)
+# *-*-sysv*)
+# *-*-sysv4*)
+# 1750a-*-*)
+# a29k-*-*) # Default a29k environment.
+# a29k-*-bsd* | a29k-*-sym1*)
+# a29k-*-udi | a29k-*-coff)
+# a29k-wrs-vxworks*)
+# alpha*-*-*)
+# alpha*-*-linux-gnu*)
+# alpha*-*-linux-gnuecoff*)
+# alpha*-*-linux-gnulibc1*)
+# alpha*-*-netbsd*)
+# alpha*-*-vxworks*)
+# alpha*-*-winnt*)
+# alpha*-dec-osf*)
+# alpha*-dec-vms*)
+# arc-*-elf*)
+# arm*-*-*)
+# arm*-*-netbsd*)
+# arm-*-aout)
+# arm-*-coff* | armel-*-coff*)
+# arm-*-linux-gnuaout*) # ARM GNU/Linux
+# arm-*-riscix*) # Acorn RISC machine
+# arm-*-riscix1.[[01]]*) # Acorn RISC machine (early versions)
+# arm-semi-aof | armel-semi-aof)
+# arm-semi-aout | armel-semi-aout)
+# c1-convex-*) # Convex C1
+# c2-convex-*) # Convex C2
+# c32-convex-*)
+# c34-convex-*)
+# c38-convex-*)
+# case $machine in
+# case $machine in
+# clipper-intergraph-clix*)
+# dsp16xx-*)
+# elxsi-elxsi-*)
+# esac
+# esac
+# esac
+# h8300-*-*)
+# hppa*-*-lites*)
+# hppa1.0-*-bsd*)
+# hppa1.0-*-hiux*)
+# hppa1.0-*-hpux*)
+# hppa1.0-*-hpux10*)
+# hppa1.0-*-hpux7*)
+# hppa1.0-*-hpux8*)
+# hppa1.0-*-hpux8.0[[0-2]]*)
+# hppa1.0-*-osf*)
+# hppa1.1-*-bsd*)
+# hppa1.1-*-hiux*)
+# hppa1.1-*-hpux*)
+# hppa1.1-*-hpux10*)
+# hppa1.1-*-hpux8*)
+# hppa1.1-*-hpux8.0[[0-2]]*)
+# hppa1.1-*-osf*)
+# hppa1.1-*-pro*)
+# hppa1.1-*-rtems*)
+# i370-*-mvs*)
+# i386-*-vsta) # Intel 80386's running VSTa kernel
+# i386-sun-sunos*) # Sun i386 roadrunner
+# i486-*-*)
+# i586-*-*)
+# i686-*-* | i786-*-*)
+# i860-*-bsd*)
+# i860-*-mach*)
+# i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
+# i860-*-sysv3*)
+# i860-*-sysv4*)
+# i860-alliant-*) # Alliant FX/2800
+# i960-*-*) # Default i960 environment.
+# i960-*-coff*)
+# i960-*-rtems)
+# i960-wrs-vxworks*)
+# i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
+# i960-wrs-vxworks5* | i960-wrs-vxworks)
+# i[[34567]]86-*-aout*)
+# i[[34567]]86-*-bsd*)
+# i[[34567]]86-*-bsdi* | i[[34567]]86-*-bsd386*)
+# i[[34567]]86-*-coff*)
+# i[[34567]]86-*-freebsd*)
+# i[[34567]]86-*-freebsdelf*)
+# i[[34567]]86-*-gnu*)
+# i[[34567]]86-*-isc*) # 80386 running ISC system
+# i[[34567]]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
+# i[[34567]]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux
+# i[[34567]]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux
+# i[[34567]]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux
+# i[[34567]]86-*-lynxos*)
+# i[[34567]]86-*-mach*)
+# i[[34567]]86-*-mingw32*)
+# i[[34567]]86-*-netbsd*)
+# i[[34567]]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
+# i[[34567]]86-*-osfrose*) # 386 using OSF/rose
+# i[[34567]]86-*-pe | i[[34567]]86-*-cygwin32)
+# i[[34567]]86-*-rtems*)
+# i[[34567]]86-*-rtemself*)
+# i[[34567]]86-*-sco*) # 80386 running SCO system
+# i[[34567]]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
+# i[[34567]]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
+# i[[34567]]86-*-solaris2*)
+# i[[34567]]86-*-sysv*) # Intel 80386's running system V
+# i[[34567]]86-*-sysv4*) # Intel 80386's running system V.4
+# i[[34567]]86-*-sysv5*) # Intel x86 on System V Release 5
+# i[[34567]]86-*-winnt3*)
+# i[[34567]]86-dg-dgux*)
+# i[[34567]]86-go32-msdos | i[[34567]]86-*-go32*)
+# i[[34567]]86-go32-rtems*)
+# i[[34567]]86-ibm-aix*) # IBM PS/2 running AIX
+# i[[34567]]86-moss-msdos* | i[[34567]]86-*-moss*)
+# i[[34567]]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
+# i[[34567]]86-next-*)
+# i[[34567]]86-pc-msdosdjgpp*)
+# i[[34567]]86-sequent-bsd*) # 80386 from Sequent
+# i[[34567]]86-sequent-ptx1*)
+# i[[34567]]86-sequent-ptx2* | i[[34567]]86-sequent-sysv3*)
+# i[[34567]]86-sequent-ptx4* | i[[34567]]86-sequent-sysv4*)
+# i[[34567]]86-wrs-vxworks*)
+# if [[ "$target_cpu_default2" != "" ]]
+# m32r-*-elf*)
+# m68000-att-sysv*)
+# m68000-convergent-sysv*)
+# m68000-hp-bsd*) # HP 9000/200 running BSD
+# m68000-hp-hpux*) # HP 9000 series 300
+# m68000-sun-sunos3*)
+# m68000-sun-sunos4*)
+# m68k*-*-netbsd*)
+# m68k-*-aout*)
+# m68k-*-coff*)
+# m68k-*-linux-gnu*) # Motorola m68k's running GNU/Linux
+# m68k-*-linux-gnuaout*) # Motorola m68k's running GNU/Linux
+# m68k-*-linux-gnulibc1) # Motorola m68k's running GNU/Linux
+# m68k-*-lynxos*)
+# m68k-*-psos*)
+# m68k-*-rtems*)
+# m68k-*-sysv3*) # Motorola m68k's running system V.3
+# m68k-*-sysv4*) # Motorola m68k's running system V.4
+# m68k-altos-sysv*) # Altos 3068
+# m68k-apollo-*)
+# m68k-apple-aux*) # Apple Macintosh running A/UX
+# m68k-atari-sysv4*) # Atari variant of V.4.
+# m68k-bull-sysv*) # Bull DPX/2
+# m68k-cbm-sysv4*) # Commodore variant of V.4.
+# m68k-ccur-rtu)
+# m68k-crds-unos*)
+# m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
+# m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
+# m68k-hp-hpux*) # HP 9000 series 300
+# m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
+# m68k-isi-bsd*)
+# m68k-motorola-sysv*)
+# m68k-ncr-sysv*) # NCR Tower 32 SVR3
+# m68k-next-nextstep2*)
+# m68k-next-nextstep3*)
+# m68k-plexus-sysv*)
+# m68k-sony-bsd* | m68k-sony-newsos*)
+# m68k-sony-newsos3*)
+# m68k-sun-mach*)
+# m68k-sun-sunos*) # For SunOS 4 (the default).
+# m68k-sun-sunos3*)
+# m68k-tti-*)
+# m68k-wrs-vxworks*)
+# m88k-*-aout*)
+# m88k-*-coff*)
+# m88k-*-luna*)
+# m88k-*-sysv3*)
+# m88k-*-sysv4*)
+# m88k-dg-dgux*)
+# m88k-dolphin-sysv3*)
+# m88k-tektronix-sysv3)
+# mips*-*-*)
+# mips*-*-ecoff* | mips*-*-elf*)
+# mips-*-*) # Default MIPS RISC-OS 4.0.
+# mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[[1234]]bsd*)
+# mips-*-ecoff*)
+# mips-*-elf*)
+# mips-*-gnu*)
+# mips-*-riscos[[56789]]*) # Default MIPS RISC-OS 5.0.
+# mips-*-riscos[[56789]]bsd*)
+# mips-*-riscos[[56789]]sysv*)
+# mips-*-riscos[[56789]]sysv4*)
+# mips-*-sysv* | mips-*-riscos*sysv*)
+# mips-*-sysv4* | mips-*-riscos[[1234]]sysv4* | mips-*-riscossysv4*)
+# mips-*-ultrix* | mips-dec-mach3) # Decstation.
+# mips-dec-bsd*) # Decstation running 4.4 BSD
+# mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
+# mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
+# mips-sgi-*) # Mostly like a MIPS.
+# mips-sgi-irix4*) # Mostly like a MIPS.
+# mips-sgi-irix4loser*) # Mostly like a MIPS.
+# mips-sgi-irix5*) # SGI System V.4., IRIX 5
+# mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
+# mips-sgi-irix6*) # SGI System V.4., IRIX 6
+# mips-sni-sysv4)
+# mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
+# mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
+# mips-tandem-sysv4*) # Tandem S2 running NonStop UX
+# mips-wrs-vxworks)
+# mips64-*-elf*)
+# mips64el-*-elf*)
+# mips64orion-*-elf*)
+# mips64orion-*-rtems*)
+# mips64orionel-*-elf*)
+# mipsel-*-ecoff*)
+# mipsel-*-elf*)
+# mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
+# mipstx39-*-elf*)
+# mipstx39el-*-elf*)
+# mn10200-*-*)
+# mn10300-*-*)
+# ns32k-*-netbsd*)
+# ns32k-encore-bsd*)
+# ns32k-merlin-*)
+# ns32k-pc532-mach*)
+# ns32k-pc532-minix*)
+# ns32k-sequent-bsd*)
+# ns32k-tek6100-bsd*)
+# ns32k-tek6200-bsd*)
+# pdp11-*-*)
+# pdp11-*-bsd)
+# powerpc*-*-* | rs6000-*-*)
+# powerpc-*-beos*)
+# powerpc-*-eabi*)
+# powerpc-*-eabiaix*)
+# powerpc-*-eabisim*)
+# powerpc-*-linux-gnu*)
+# powerpc-*-linux-gnulibc1)
+# powerpc-*-rtems*)
+# powerpc-*-sysv* | powerpc-*-elf*)
+# powerpc-wrs-vxworks*)
+# powerpcle-*-eabi*)
+# powerpcle-*-eabisim*)
+# powerpcle-*-pe | powerpcle-*-cygwin32)
+# powerpcle-*-solaris2*)
+# powerpcle-*-sysv* | powerpcle-*-elf*)
+# powerpcle-*-winnt* )
+# pyramid-*-*)
+# romp-*-aos*)
+# romp-*-mach*)
+# rs6000-*-lynxos*)
+# rs6000-*-mach*)
+# rs6000-bull-bosx)
+# rs6000-ibm-aix*)
+# rs6000-ibm-aix3.2.[[456789]]* | powerpc-ibm-aix3.2.[[456789]]*)
+# rs6000-ibm-aix3.[[01]]*)
+# rs6000-ibm-aix4.[[12]]* | powerpc-ibm-aix4.[[12]]*)
+# rs6000-ibm-aix4.[[3456789]].* | powerpc-ibm-aix4.[[3456789]].*)
+# rs6000-ibm-aix[[56789]].* | powerpc-ibm-aix[[56789]].*)
+# sh-*-*)
+# sh-*-elf*)
+# sh-*-rtems*)
+# sh-*-rtemself*)
+# sparc*-*-*)
+# sparc-*-aout*)
+# sparc-*-bsd*)
+# sparc-*-elf*)
+# sparc-*-linux-gnu*) # Sparc's running GNU/Linux, libc6
+# sparc-*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out
+# sparc-*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5
+# sparc-*-lynxos*)
+# sparc-*-netbsd*)
+# sparc-*-rtems*)
+# sparc-*-solaris2*)
+# sparc-*-sunos3*)
+# sparc-*-sunos4*)
+# sparc-*-sunos4.0*)
+# sparc-*-sysv4*)
+# sparc-*-vxsim*)
+# sparc-tti-*)
+# sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
+# sparc64-*-aout*)
+# sparc64-*-elf*)
+# sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
+# sparclet-*-aout*)
+# sparclite-*-aout*)
+# sparclite-*-coff*)
+# target_cpu_default2=
+# thumb-*-coff* | thumbel-*-coff*)
+# v850-*-*)
+# vax-*-*) # vax default entry
+# vax-*-bsd*) # vaxen running BSD
+# vax-*-netbsd*)
+# vax-*-sysv*) # vaxen running system V
+# vax-*-ultrix*) # vaxen running ultrix
+# vax-*-vms*) # vaxen running VMS
+# we32k-att-sysv*)
+
+# --target=m68k-linux-gnulibc1
+# --enable-version-specific-runtime-libs
+# --with-float=soft \
+
+../../../gcc/configure --prefix=/usr \
+ --target=m68k-rtems \
+ --with-gnu-ld \
+ --with-gnu-as \
+ --with-newlib \
+ --enable-languages=c,c++ \
+ --enable-threads=rtems \
+ --verbose \
+ --disable-nls \
+ --host=i586-pc-linux-gnu \
+ --with-newlib
--- /dev/null
+#Usage: configure [OPTIONS] [HOST]
+#
+#Options: [defaults in brackets]
+# --prefix=MYDIR install into MYDIR [/usr/local]
+# --exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local]
+# --help print this message [normal config]
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [determined via config.guess]
+# --norecursion configure this directory only [recurse]
+# --program-prefix=FOO prepend FOO to installed program names [""]
+# --program-suffix=FOO append FOO to installed program names [""]
+# --program-transform-name=P transform installed names by sed pattern P [""]
+# --site=SITE configure with site-specific makefile for SITE
+# --srcdir=DIR find the sources in DIR [. or ..]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+# --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]
+# --nfp configure for software floating point [hard float]
+# --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)
+# --without-FOO package FOO is NOT available
+# --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)
+# --disable-FOO do not include feature FOO
+#
+#Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.
+#
+#Usage: configure [options] [host]
+#Options: [defaults in brackets after descriptions]
+#Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+#Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+#Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+#Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+#--enable and --with options recognized:
+# --enable-shared[=PKGS] build shared libraries [default=no]
+# --enable-static[=PKGS] build static libraries [default=yes]
+# --enable-fast-install[=PKGS] optimize for fast installation [default=yes]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --disable-libtool-lock avoid locking (might break parallel builds)
+# --with-pic try to use only PIC/non-PIC objects [default=use both]
+# --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+# --enable-targets alternative target configurations
+# --enable-commonbfdlib build shared BFD/opcodes/libiberty library
+# --with-mmap try using mmap for BFD input files if available
+# --enable-build-warnings Enable build-time compiler warnings if gcc is used
+# --enable-maintainer-mode enable make rules and dependencies not useful
+# (and sometimes confusing) to the casual installer
+# --disable-nls do not use Native Language Support
+# --with-included-gettext use the GNU gettext library included here
+#Usage: configure [options] [host]
+#Options: [defaults in brackets after descriptions]
+#Configuration:
+# --cache-file=FILE cache test results in FILE
+# --help print this message
+# --no-create do not create output files
+# --quiet, --silent do not print `checking...' messages
+# --version print the version of autoconf that created configure
+#Directory and file names:
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# [/usr/local]
+# --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+# [same as prefix]
+# --bindir=DIR user executables in DIR [EPREFIX/bin]
+# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+# --datadir=DIR read-only architecture-independent data in DIR
+# [PREFIX/share]
+# --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+# --sharedstatedir=DIR modifiable architecture-independent data in DIR
+# [PREFIX/com]
+# --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+# --includedir=DIR C header files in DIR [PREFIX/include]
+# --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+# --infodir=DIR info documentation in DIR [PREFIX/info]
+# --mandir=DIR man documentation in DIR [PREFIX/man]
+# --srcdir=DIR find the sources in DIR [configure dir or ..]
+# --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
+#Host type:
+# --build=BUILD configure for building on BUILD [BUILD=HOST]
+# --host=HOST configure for HOST [guessed]
+# --target=TARGET configure for TARGET [TARGET=HOST]
+#Features and packages:
+# --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+# --x-includes=DIR X include files are in DIR
+# --x-libraries=DIR X library files are in DIR
+#--enable and --with options recognized:
+# --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]
+# --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+# --disable-libtool-lock avoid locking (might break parallel builds)
+# --with-pic try to use only PIC/non-PIC objects [default=use both]
+# --enable-targets alternative target configurations
+# --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+# --enable-build-warnings Enable build-time compiler warnings if gcc is used
+# --disable-nls do not use Native Language Support
+# --with-included-gettext use the GNU gettext library included here
+# --enable-maintainer-mode enable make rules and dependencies not useful
+# (and sometimes confusing) to the casual installer
+
+# --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
+CFLAGS=-O2 LDFLAGS=-s \
+../../configure \
+--host=i586-pc-linux-gnu \
+--target=powerpc-rtems \
+--with-gnu-ld --exec-prefix=/usr --prefix=/usr \
+--enable-shared --enable-commonbfdlib --verbose \
+--with-mmap --enable-64-bit-bfd \
+--enable-targets=i586-pc-linux-gnu,i586-pc-linux-gnulibc1,\
+i386-coff,i586-msdosdjgpp,\
+m68k-linux-elf,m68k-rtems,m68k-coff,m68k-a.out-linux,\
+powerpc-rtems,powerpc-linux,m68hc11-elf,m68hc12-elf,\
+h8300-coff,h8300-elf,sh-coff,sh-rtemself,sh64-linux,\
+or32-elf,openrisc-elf,alpha-linux-gnu,\
+ia64-linux-gnu,x86_64-linux-gnu,\
+arm-rtems,arm-linux,arm-pe,arm-coff,avr-elf,\
+sparc-linux-elf,i586-win-pe,\
+tic30-ti-coff,tic30-ti-aout,tic4x-ti-coff,tic54x-ti-coff,msp430
+#i586-go32,
+#--ieee,
+#srec,symbolsrec,tekhex,binary,ihex,trad-core
--- /dev/null
+# `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<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>
+# 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
+# --with-cpu=405
+# make
+# make install
+
+../../configure --target=powerpc-rtems --prefix=/usr \
+ --enable-languages=c,c++ \
+ --with-gnu-ld \
+ --with-float=soft \
+ --enable-threads=rtems \
+ --enable-target-optspace \
+ --verbose \
+ --disable-nls \
+ --host=i586-pc-linux-gnu \
+ --with-newlib