2007-12-05 Lennert Buytenhek <buytenh@wantstofly.org>

* config.guess (arm*:Linux:*:*): Determine ABI in use.
This commit is contained in:
Ben Elliston 2007-12-05 03:20:25 +00:00
parent b3c3cb0937
commit e76d51868f
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-12-05 Lennert Buytenhek <buytenh@wantstofly.org>
* config.guess (arm*:Linux:*:*): Determine ABI in use.
2007-12-05 Steve Kenton <skenton@ou.edu> 2007-12-05 Steve Kenton <skenton@ou.edu>
Ben Elliston <bje@gnu.org> Ben Elliston <bje@gnu.org>

11
config.guess vendored
View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc. # Inc.
timestamp='2007-11-19' timestamp='2007-12-05'
# 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
@ -833,7 +833,14 @@ EOF
echo ${UNAME_MACHINE}-pc-minix echo ${UNAME_MACHINE}-pc-minix
exit ;; exit ;;
arm*:Linux:*:*) arm*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
echo ${UNAME_MACHINE}-unknown-linux-gnu
else
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
fi
exit ;; exit ;;
avr32*:Linux:*:*) avr32*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu