Line 2... |
Line 2... |
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
# 2011 Free Software Foundation, Inc.
|
# 2011 Free Software Foundation, Inc.
|
|
|
timestamp='2011-02-02'
|
timestamp='2011-06-03'
|
|
|
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
# the Free Software Foundation; either version 2 of the License, or
|
# the Free Software Foundation; either version 2 of the License, or
|
# (at your option) any later version.
|
# (at your option) any later version.
|
Line 880... |
Line 880... |
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
| grep -q __ARM_EABI__
|
| grep -q __ARM_EABI__
|
then
|
then
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
else
|
else
|
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
| grep -q __ARM_PCS_VFP
|
|
then
|
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
else
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
|
fi
|
fi
|
fi
|
exit ;;
|
exit ;;
|
avr32*:Linux:*:*)
|
avr32*:Linux:*:*)
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
exit ;;
|
exit ;;
|
Line 970... |
Line 976... |
exit ;;
|
exit ;;
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
exit ;;
|
exit ;;
|
tile*:Linux:*:*)
|
tile*:Linux:*:*)
|
echo ${UNAME_MACHINE}-tilera-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
exit ;;
|
exit ;;
|
vax:Linux:*:*)
|
vax:Linux:*:*)
|
echo ${UNAME_MACHINE}-dec-linux-gnu
|
echo ${UNAME_MACHINE}-dec-linux-gnu
|
exit ;;
|
exit ;;
|
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|