* config.gcc: Reorganize --with-cpu logic. Set
commit7dd97ab62695cb000e76a6f7097a5ba9027aff9c
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jun 2003 17:50:44 +0000 (4 17:50 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jun 2003 17:50:44 +0000 (4 17:50 +0000)
tree0761aad7dc475440590406dcf0a0052331286e05
parentf0b281fea1edd49e9684a26761d476f7625aa0a7
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67457 138bc75d-0d04-0410-961f-82ee72b054a4
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