| 2 |
|
# Attempt to guess a canonical system name. |
| 3 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4 |
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
| 5 |
< |
# 2011 Free Software Foundation, Inc. |
| 5 |
> |
# 2011, 2012 Free Software Foundation, Inc. |
| 6 |
|
|
| 7 |
< |
timestamp='2011-11-11' |
| 7 |
> |
timestamp='2012-01-01' |
| 8 |
|
|
| 9 |
|
# This file is free software; you can redistribute it and/or modify it |
| 10 |
|
# under the terms of the GNU General Public License as published by |
| 57 |
|
|
| 58 |
|
Originally written by Per Bothner. |
| 59 |
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 60 |
< |
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free |
| 61 |
< |
Software Foundation, Inc. |
| 60 |
> |
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
| 61 |
> |
Free Software Foundation, Inc. |
| 62 |
|
|
| 63 |
|
This is free software; see the source for copying conditions. There is NO |
| 64 |
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 145 |
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
| 146 |
|
*:NetBSD:*:*) |
| 147 |
|
# NetBSD (nbsd) targets should (where applicable) match one or |
| 148 |
< |
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, |
| 148 |
> |
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
| 149 |
|
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
| 150 |
|
# switched to ELF, *-*-netbsd* would select the old |
| 151 |
|
# object file format. This provides both forward |
| 897 |
|
echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 898 |
|
exit ;; |
| 899 |
|
cris:Linux:*:*) |
| 900 |
< |
echo cris-axis-linux-gnu |
| 900 |
> |
echo ${UNAME_MACHINE}-axis-linux-gnu |
| 901 |
|
exit ;; |
| 902 |
|
crisv32:Linux:*:*) |
| 903 |
< |
echo crisv32-axis-linux-gnu |
| 903 |
> |
echo ${UNAME_MACHINE}-axis-linux-gnu |
| 904 |
|
exit ;; |
| 905 |
|
frv:Linux:*:*) |
| 906 |
< |
echo frv-unknown-linux-gnu |
| 906 |
> |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 907 |
|
exit ;; |
| 908 |
|
hexagon:Linux:*:*) |
| 909 |
< |
echo hexagon-unknown-linux-gnu |
| 909 |
> |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 910 |
|
exit ;; |
| 911 |
|
i*86:Linux:*:*) |
| 912 |
|
LIBC=gnu |
| 948 |
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
| 949 |
|
;; |
| 950 |
|
or32:Linux:*:*) |
| 951 |
< |
echo or32-unknown-linux-gnu |
| 951 |
> |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 952 |
|
exit ;; |
| 953 |
|
padre:Linux:*:*) |
| 954 |
|
echo sparc-unknown-linux-gnu |
| 989 |
|
echo ${UNAME_MACHINE}-dec-linux-gnu |
| 990 |
|
exit ;; |
| 991 |
|
x86_64:Linux:*:*) |
| 992 |
< |
echo x86_64-unknown-linux-gnu |
| 992 |
> |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 993 |
|
exit ;; |
| 994 |
|
xtensa*:Linux:*:*) |
| 995 |
|
echo ${UNAME_MACHINE}-unknown-linux-gnu |