]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/arm.h
config.gcc: Reorganize --with-cpu logic.
authorDaniel Jacobowitz <drow@mvista.com>
Wed, 4 Jun 2003 17:50:44 +0000 (17:50 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Wed, 4 Jun 2003 17:50:44 +0000 (17:50 +0000)
commit7816bea0e23b878016e30c39f132826a5275ecc1
tree0761aad7dc475440590406dcf0a0052331286e05
parent83079d893cac8e85e0d9a5f7531cccae64f7665f
config.gcc: Reorganize --with-cpu logic.

* config.gcc: Reorganize --with-cpu logic.  Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float.  Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.

* doc/install.texi: Update --with-cpu documentation.  Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.

From-SVN: r67457
14 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config/alpha/alpha.h
gcc/config/arm/arm.h
gcc/config/i386/i386.h
gcc/config/mips/mips.h
gcc/config/pa/pa.h
gcc/config/rs6000/rs6000.h
gcc/config/sparc/sparc.h
gcc/configure
gcc/configure.in
gcc/doc/install.texi
gcc/doc/tm.texi
gcc/gcc.c