From owner-freebsd-current Thu Dec 3 04:39:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA06423 for freebsd-current-outgoing; Thu, 3 Dec 1998 04:39:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from relay01.esat.net (relay01.esat.net [192.111.39.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA06413 for ; Thu, 3 Dec 1998 04:38:56 -0800 (PST) (envelope-from nialls@euristix.ie) Received: from (euristix.ie) [193.120.210.2] by relay01.esat.net with esmtp id 0zlY1M-0003rl-00; Thu, 3 Dec 1998 12:38:13 +0000 Received: by gateway.euristix.ie id <19713>; Thu, 3 Dec 1998 12:36:30 +0000 Message-Id: <98Dec3.123630gmt.19713@gateway.euristix.ie> Date: Thu, 3 Dec 1998 12:35:34 +0000 From: Niall Smart X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: patches@cygnus.com CC: current@FreeBSD.ORG Subject: egcs' config.guess on FreeBSD ELF systems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ Cc'd to current@freebsd.org for any comments ] The config.guess script does not properly detect ELF vs. a.out for FreeBSD leading to build failure on an ELF system unless the host is explicitly specified as *-*-freebsdelf during configuration. The appended patch remedies this. Regards, Niall *** config.guess~ Thu Dec 3 12:19:41 1998 --- config.guess Thu Dec 3 12:25:13 1998 *************** *** 483,489 **** echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) ! echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; *:NetBSD:*:*) echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` --- 483,493 ---- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) ! if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then ! echo ${UNAME_MACHINE}-unknown-freebsdelf ! else ! echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` ! fi exit 0 ;; *:NetBSD:*:*) echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message