… | |
… | |
2 | # Attempt to guess a canonical system name. |
2 | # Attempt to guess a canonical system name. |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
5 | # 2011 Free Software Foundation, Inc. |
5 | # 2011 Free Software Foundation, Inc. |
6 | |
6 | |
7 | timestamp='2011-02-02' |
7 | timestamp='2011-05-11' |
8 | |
8 | |
9 | # This file is free software; you can redistribute it and/or modify it |
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 |
10 | # under the terms of the GNU General Public License as published by |
11 | # the Free Software Foundation; either version 2 of the License, or |
11 | # the Free Software Foundation; either version 2 of the License, or |
12 | # (at your option) any later version. |
12 | # (at your option) any later version. |
… | |
… | |
880 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
880 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
881 | | grep -q __ARM_EABI__ |
881 | | grep -q __ARM_EABI__ |
882 | then |
882 | then |
883 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
883 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
884 | else |
884 | else |
|
|
885 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
|
|
886 | | grep -q __ARM_PCS_VFP |
|
|
887 | then |
885 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
888 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
|
|
889 | else |
|
|
890 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf |
|
|
891 | fi |
886 | fi |
892 | fi |
887 | exit ;; |
893 | exit ;; |
888 | avr32*:Linux:*:*) |
894 | avr32*:Linux:*:*) |
889 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
895 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
890 | exit ;; |
896 | exit ;; |
… | |
… | |
970 | exit ;; |
976 | exit ;; |
971 | sparc:Linux:*:* | sparc64:Linux:*:*) |
977 | sparc:Linux:*:* | sparc64:Linux:*:*) |
972 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
978 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
973 | exit ;; |
979 | exit ;; |
974 | tile*:Linux:*:*) |
980 | tile*:Linux:*:*) |
975 | echo ${UNAME_MACHINE}-tilera-linux-gnu |
981 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
976 | exit ;; |
982 | exit ;; |
977 | vax:Linux:*:*) |
983 | vax:Linux:*:*) |
978 | echo ${UNAME_MACHINE}-dec-linux-gnu |
984 | echo ${UNAME_MACHINE}-dec-linux-gnu |
979 | exit ;; |
985 | exit ;; |
980 | x86_64:Linux:*:*) |
986 | x86_64:Linux:*:*) |