aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-09-10 06:42:40 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-09-10 06:42:40 -0400
commit19ab288864ecea76e7e5c646dd685f51b6916d03 (patch)
tree6936e082b06e1b51807a9895ce871c3fc18800fe
parent01bffe732f06ee6451aa24ac6566cd364325d612 (diff)
downloadgcc-19ab288864ecea76e7e5c646dd685f51b6916d03.zip
gcc-19ab288864ecea76e7e5c646dd685f51b6916d03.tar.gz
gcc-19ab288864ecea76e7e5c646dd685f51b6916d03.tar.bz2
(ptx): New OS; use for Sequent.
From-SVN: r8070
-rwxr-xr-xgcc/config.sub14
1 files changed, 12 insertions, 2 deletions
diff --git a/gcc/config.sub b/gcc/config.sub
index 5175a5d..bc37d15 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -103,6 +103,9 @@ case $os in
-lynx)
os=-lynxos
;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
@@ -403,6 +406,9 @@ case $basic_machine in
rtpc | rtpc-*)
basic_machine=romp-ibm
;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
sh)
basic_machine=sh-hitachi
os=-hms
@@ -559,7 +565,8 @@ case $os in
| -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
| -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf*)
+ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
+ | -ptx*)
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`
@@ -677,7 +684,7 @@ case $basic_machine in
os=-luna
;;
*-sequent)
- os=-bsd
+ os=-ptx
;;
*-crds)
os=-unos
@@ -751,6 +758,9 @@ case $basic_machine in
-mvs*)
vendor=ibm
;;
+ -ptx*)
+ vendor=sequent
+ ;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;