--- config.guess.orig 2020-04-30 04:11:44.000000000 +1000 +++ config.guess 2020-07-30 22:40:08.294807000 +1000 @@ -137,6 +137,27 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "$UNAME_SYSTEM" in + arm:BSDSUniX:*:*) + UNAME_PROCESSOR=`uname -p` + set_cc_for_build + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "${UNAME_PROCESSOR}"-unknown-bsdsunix"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi + else + echo "${UNAME_PROCESSOR}"-unknown-bsdsunix"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf + fi + exit ;; + *:BSDSUniX:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case "$UNAME_PROCESSOR" in + amd64) + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; + esac + echo "$UNAME_PROCESSOR"-unknown-bsdsunix"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder.