scripts/config.guess
changeset 2698 7501f41e3bbf
parent 2538 b926c87d9339
child 2811 d74b5845f328
     1.1 --- a/scripts/config.guess	Thu Jul 07 10:17:34 2011 +0200
     1.2 +++ b/scripts/config.guess	Thu Oct 06 00:09:00 2011 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     1.5  #   2011 Free Software Foundation, Inc.
     1.6  
     1.7 -timestamp='2011-06-03'
     1.8 +timestamp='2011-10-01'
     1.9  
    1.10  # This file is free software; you can redistribute it and/or modify it
    1.11  # under the terms of the GNU General Public License as published by
    1.12 @@ -792,13 +792,12 @@
    1.13  	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    1.14  	exit ;;
    1.15      *:FreeBSD:*:*)
    1.16 -	case ${UNAME_MACHINE} in
    1.17 -	    pc98)
    1.18 -		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.19 +	UNAME_PROCESSOR=`/usr/bin/uname -p`
    1.20 +	case ${UNAME_PROCESSOR} in
    1.21  	    amd64)
    1.22  		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.23  	    *)
    1.24 -		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.25 +		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.26  	esac
    1.27  	exit ;;
    1.28      i*:CYGWIN*:*)
    1.29 @@ -903,6 +902,9 @@
    1.30      frv:Linux:*:*)
    1.31  	echo frv-unknown-linux-gnu
    1.32  	exit ;;
    1.33 +    hexagon:Linux:*:*)
    1.34 +	echo hexagon-unknown-linux-gnu
    1.35 +	exit ;;
    1.36      i*86:Linux:*:*)
    1.37  	LIBC=gnu
    1.38  	eval $set_cc_for_build