Hi,

The attached patch add the gnueabi or gnueabihf suffix for FreeBSD arm
target. We do not support oabi anymore.
In case the list trim the attachment, it's available here [1]

Thanks in advance.

[1] http://mikael.urankar.free.fr/FreeBSD/config.diff
diff --git a/config.guess b/config.guess
index 883a671..e85270d 100755
--- a/config.guess
+++ b/config.guess
@@ -840,6 +840,17 @@ EOF
     *:BSD/OS:*:*)
 	echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
 	exit ;;
+    arm*:FreeBSD:*:*)
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
+	eval $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-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnueabi
+	else
+	    echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnueabihf
+	fi
+	exit ;;
     *:FreeBSD:*:*)
 	UNAME_PROCESSOR=`/usr/bin/uname -p`
 	case "$UNAME_PROCESSOR" in
_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to