diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-11-11 18:07:50 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-11-11 18:07:50 +0000 |
commit | d0454ea862b87224a3d5514c8eeda0691e2442c8 (patch) | |
tree | 7e901924f3abe96fd2d314f4776646deb451eba0 /config.guess | |
parent | 835eaf4635b712be208366bfb3bd27f7dfa37235 (diff) | |
download | gdb-d0454ea862b87224a3d5514c8eeda0691e2442c8.zip gdb-d0454ea862b87224a3d5514c8eeda0691e2442c8.tar.gz gdb-d0454ea862b87224a3d5514c8eeda0691e2442c8.tar.bz2 |
* config.guess: Recognize Sony news mips running newsos.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/config.guess b/config.guess index 5d22d5d..d1c7f9f 100755 --- a/config.guess +++ b/config.guess @@ -44,6 +44,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # 1.3 uses "V1.3" for uname -r. echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'` exit 0 ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit 0;; sun4*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; @@ -187,7 +190,7 @@ EOF (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL else - echo ${UNAME_MACHINE}-unknown-sysv3.2 + echo ${UNAME_MACHINE}-unknown-sysv32 fi exit 0 ;; mini*:CTIX:SYS*5:*) @@ -199,6 +202,15 @@ EOF 3[34]??:*:4.0:*) uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; + m680[234]0:LynxOS:2.2*:*) + echo m68k-lynx-lynxos${UNAME_RELEASE} + exit 0 ;; + i[34]86:LynxOS:2.2*:*) + echo i386-lynx-lynxos${UNAME_RELEASE} + exit 0 ;; + TSUNAMI:LynxOS:2.2*:*) + echo sparc-lynx-lynxos${UNAME_RELEASE} + exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 @@ -209,11 +221,18 @@ main() { #if defined (sony) #if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); #else printf("m68k-sony-newsos\n"); exit(0); #endif #endif +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf("arm-acorn-riscix"); exit (0); +#endif + #if defined(hp300) && !defined(hpux) printf("m68k-hp-bsd\n"); exit(0); #endif |