From owner-freebsd-hackers Thu Mar 27 16:31:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA07045 for hackers-outgoing; Thu, 27 Mar 1997 16:31:33 -0800 (PST) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA07038 for ; Thu, 27 Mar 1997 16:31:26 -0800 (PST) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.5/8.8.5) with ESMTP id QAA20995; Thu, 27 Mar 1997 16:31:22 -0800 (PST) Message-Id: <199703280031.QAA20995@austin.polstra.com> To: "Daniel M. Eischen" cc: freebsd-hackers@FreeBSD.org Subject: Re: Building Solaris->FreeBSD cross binutils In-reply-to: Your message of "Thu, 27 Mar 1997 09:59:47 CST." <199703271559.JAA02972@iworks.InterWorks.org> References: <199703271559.JAA02972@iworks.InterWorks.org> Date: Thu, 27 Mar 1997 16:31:22 -0800 From: John Polstra Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I'm trying to build a cross development binutils with a > sparc-sun-solaris2.5 host and an i386-unknown-freebsd target. The > configure fails when configuring ld (doesn't know i386-unknown-freebsd > as a target). Is i386-unknown-bsd (which configures without problem) > good enough to use as a target? I hate to tell you, but binutils-2.7 doesn't have working support for FreeBSD's a.out format. I have heard reports of people getting the assembler to work, but the linker is nowhere close. The code for dealing with shared libraries doesn't even exist. > I also noted that another recognized target is i386-unknown-freebsdelf > which JDP added support for. That one works fine, but it's for playing around with ELF rather than building real FreeBSD binaries. If you want a cross environment to FreeBSD, your easiest path is probably to port the old assembler and linker from our /usr/src tree. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth