diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-28 22:37:42 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-28 22:37:42 +0000 |
commit | fc3e831e23e4351bb309521ae04c1227b7448122 (patch) | |
tree | 69734e74bcb1c8dd31ac374c9fccbf2c819fe104 /gcc/config.gcc | |
parent | 855b00bc4f445bb268c1487e088a9096f560eca7 (diff) | |
download | gcc-fc3e831e23e4351bb309521ae04c1227b7448122.tar.gz |
* config.gcc (mt-*-*): Add --with-arch support.
(--with): Print accepted options on error.
* config/mt/mt.h (OPTION_DEFAULT_SPECS): Define.
* config/mt/mt.c (DEF_VEC_P(basic_block),
DEF_VEC_ALLOC_P(basic_bloc,heap)): Remove from here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 6c8a2d48461..5e2216c50d2 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2669,6 +2669,25 @@ case "${target}" in esac ;; + mt-*-*) + supported_defaults="arch" + + case "$with_arch" in + "" \ + | ms1-64-001 \ + | ms1-16-002 \ + | ms1-16-003 \ + | ms2 \ + | "") + # OK + ;; + *) + echo "Unknown arch used in --with-arch=$with_arch" 1>&2 + exit 1 + ;; + esac + ;; + powerpc*-*-* | rs6000-*-*) supported_defaults="cpu float tune" @@ -2923,6 +2942,7 @@ do ;; *) echo "This target does not support --with-$option." 2>&1 + echo "Valid --with options are: $supported_defaults" 2>&1 exit 1 ;; esac |