mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Add support for HP-UX; SCO; fix Solaris2.
This commit is contained in:
@ -19,8 +19,8 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|||||||
# Note: order is significant - the case branches are not exclusive.
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
sun4*:SunOS:5.*:*)
|
sun4*:SunOS:[5-9].*:*)
|
||||||
echo sparc-sun-solaris
|
echo sparc-sun-solaris2
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sun4*:SunOS:*:*)
|
sun4*:SunOS:*:*)
|
||||||
echo sparc-sun-sunos${UNAME_RELEASE}
|
echo sparc-sun-sunos${UNAME_RELEASE}
|
||||||
@ -37,6 +37,21 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
*:AIX:*:*)
|
*:AIX:*:*)
|
||||||
echo rs6000-ibm-aix
|
echo rs6000-ibm-aix
|
||||||
exit 0 ;;
|
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
|
esac
|
||||||
|
|
||||||
echo '(No uname command or uname output not recognized.)' 1>&2
|
echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
Reference in New Issue
Block a user