From owner-freebsd-current Fri Aug 1 18:46:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA24792 for current-outgoing; Fri, 1 Aug 1997 18:46:20 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA24787 for ; Fri, 1 Aug 1997 18:46:17 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.6/8.8.5) with ESMTP id SAA09667; Fri, 1 Aug 1997 18:46:11 -0700 (PDT) Message-Id: <199708020146.SAA09667@austin.polstra.com> To: hasty@rah.star-gate.com Subject: Re: second post: elf patches for -current In-Reply-To: <199708011006.DAA03932@rah.star-gate.com> References: <199708011006.DAA03932@rah.star-gate.com> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Date: Fri, 01 Aug 1997 18:46:10 -0700 From: John Polstra Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199708011006.DAA03932@rah.star-gate.com>, Amancio Hasty wrote: > > I downloaded the elfkit from John's ftp site and noticed that the > README file was dated from 1996/04/16 and that it requires the > include files from FreeBSD 2.1 . > > Doesn't make sense that we should patches for freebsd -current that > does not require the include files from 2.1? ElfKit is almost obsolete, because just about everything you need is now in -current. You can build the FreeBSD compiler for ELF by specifying "BINFORMAT=elf". The standard libc in -current (and I think in -2.2 also) can be built for ELF, and it works just fine. You don't have to do anything special; just compile it with the ELF tools. The current version of GNU binutils has all the FreeBSD-ELF support in it. Just configure it like this and then build it: ./configure --prefix=/usr/local/elf --host=i386-unknown-freebsd \ --target=i386-unknown-freebsdelf John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth