From owner-freebsd-current Sun Dec 21 10:12:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA15874 for current-outgoing; Sun, 21 Dec 1997 10:12:10 -0800 (PST) (envelope-from owner-freebsd-current) Received: from zippy.dyn.ml.org (garbanzo@haiti-112.ppp.hooked.net [206.169.228.112]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA15860 for ; Sun, 21 Dec 1997 10:12:03 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.8/8.8.7) with SMTP id KAA07401; Sun, 21 Dec 1997 10:12:46 -0800 (PST) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Sun, 21 Dec 1997 10:12:45 -0800 (PST) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: Ollivier Robert cc: current@FreeBSD.ORG Subject: Re: ELF binaries In-Reply-To: <19971221022254.38295@keltia.freenix.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 21 Dec 1997, Ollivier Robert wrote: > The main problem is that if you are to replace as/ld and the whole binutils > package is that you won't be able to build a.out binaries, especially > shared libs. Our shared libs scheme is not supported anymore by GNU > (someone will correct me if I'm wrong). Right, I realize I won't be able to build a.out binaries anymore (guess I'll need to make my kernels elsewhere), and I guess that means, I'll need to rebuild all my programs (and shared libs) too. GNU's binutils don't support a.out at all I think. > Out of perversion, I've built the 971215 snapshot of egcs with the ELF > tools so egcs now builds ELF binaries. I'm waiting for the switch to ELF > eagerly. I tried, and in a few hours accomplished a compiler/binutil combination (with some early december egcs snapshot) that compiled things, but wouldn't completely link. Either way, with all of Terry's hype, and all the seemingly needed hacks in place, I think that -current would be a good place to start some more elf support. > Does anyone has some example of how the pentium code generator in egcs is > good ? My first experiments are not very significant... Neither were mine, however they claim a 30% improvment with their hacked up gzip. I did notice that it at least makes smaller binaries. - alex