From owner-freebsd-current Thu May 21 01:24:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23995 for freebsd-current-outgoing; Thu, 21 May 1998 01:24:42 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23984; Thu, 21 May 1998 01:24:35 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id DAA19639; Thu, 21 May 1998 03:23:31 -0400 (EDT) Date: Thu, 21 May 1998 03:23:31 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: Joseph Koshy cc: freebsd-current@FreeBSD.ORG Subject: Re: converting to ELF? In-Reply-To: <199805210728.AAA19459@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 21 May 1998, Joseph Koshy wrote: > Whats the best way to bring up an ELF "world"? > > Is the ELFkit necessary or is there an incantation at `make world' > time that will do the job? I was looking at that, a few days ago, in trying to do some elf testing with regards to a port that I don't think out a.out linker can handle. There's a reference to ld-elf.so in /sys/kern/imgact-elf.c, which I guess is the elf runtime linker. I think that's built in src/lib/csu/i386-elf. I tried to build that with our own tools, but there's an assembly line there that our assembler won't handle, a ".section" clause. The old elf stuff from John Polstra used to require that you build binutils to get it working ... I did that about 18 months ago, successfully, but I don't have any of that hanging around still. Right now, I'm messing around with all the patches I found on John's ftp site, trying to see if they can be applied correctly to the latest binutils and gcc-2.8.1. Suffice to say, you won't get it working just with our own tools, I think. > > Thanks, > Koshy > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message