diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-10-06 00:09:00 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-10-06 00:09:00 +0200 |
commit | ba5dc885829045889a8bdd74d3d18102c12f5a88 (patch) | |
tree | df0aae2c8792ae5bf43b595faeeea2dd73fff6ae /scripts/config.guess | |
parent | 1215a8fbcc47dea54554c358f2ad863f3810d84d (diff) | |
download | crosstool-ng-ba5dc885829045889a8bdd74d3d18102c12f5a88.tar.gz crosstool-ng-ba5dc885829045889a8bdd74d3d18102c12f5a88.tar.bz2 crosstool-ng-ba5dc885829045889a8bdd74d3d18102c12f5a88.zip |
scripts: update config.{guess,sub}
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/config.guess')
-rwxr-xr-x | scripts/config.guess | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/config.guess b/scripts/config.guess index b02565c7..43f0cdbc 100755 --- a/scripts/config.guess +++ b/scripts/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. -timestamp='2011-06-03' +timestamp='2011-10-01' # 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 @@ -792,13 +792,12 @@ EOF echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) @@ -903,6 +902,9 @@ EOF frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; + hexagon:Linux:*:*) + echo hexagon-unknown-linux-gnu + exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build |