aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-01-20 06:47:39 +0000
committerPer Bothner <per@bothner.com>1993-01-20 06:47:39 +0000
commit2c763c2b0b60722ab3bec185c00aa5a5b11a6d30 (patch)
tree82e8dd7bd69141e7b83fdb1ae08049ecc8043962
parentbf2e56058ef61a31545a831b977316d11fd2cb46 (diff)
downloadgdb-2c763c2b0b60722ab3bec185c00aa5a5b11a6d30.zip
gdb-2c763c2b0b60722ab3bec185c00aa5a5b11a6d30.tar.gz
gdb-2c763c2b0b60722ab3bec185c00aa5a5b11a6d30.tar.bz2
Add support for HP-UX; SCO; fix Solaris2.
-rwxr-xr-xguess-systype19
1 files changed, 17 insertions, 2 deletions
diff --git a/guess-systype b/guess-systype
index 86f2885..c55e2ac 100755
--- a/guess-systype
+++ b/guess-systype
@@ -19,8 +19,8 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- sun4*:SunOS:5.*:*)
- echo sparc-sun-solaris
+ sun4*:SunOS:[5-9].*:*)
+ echo sparc-sun-solaris2
exit 0 ;;
sun4*:SunOS:*:*)
echo sparc-sun-sunos${UNAME_RELEASE}
@@ -37,6 +37,21 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:AIX:*:*)
echo rs6000-ibm-aix
exit 0 ;;
+ 9000/31?:HP-UX:*:*)
+ echo m68000-hp-hpux
+ exit 0 ;;
+ 9000/3??:HP-UX:*:*)
+ echo m68k-hp-hpux
+ exit 0 ;;
+ 9000/7??:HP-UX:*:*)
+ echo hppa1.1-hp-hpux
+ exit 0 ;;
+ 9000/8??:HP-UX:*:*)
+ echo hppa1.0-hp-hpux
+ exit 0 ;;
+ i[34]86:*:3.2:[2-9]*)
+ echo ${UNAME_MACHINE}-unknown-sco3.2v${UNAME_VERSION}
+ exit 0 ;;
esac
echo '(No uname command or uname output not recognized.)' 1>&2