From owner-freebsd-questions Sat May 31 19:56:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA01367 for questions-outgoing; Sat, 31 May 1997 19:56:59 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA01352 for ; Sat, 31 May 1997 19:56:32 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.5/8.8.5) id VAA06402; Sat, 31 May 1997 21:55:06 -0500 (EST) From: "John S. Dyson" Message-Id: <199706010255.VAA06402@dyson.iquest.net> Subject: Re: Binaries In-Reply-To: <199705311936.NAA18541@obie.softweyr.ml.org> from Wes Peters at "May 31, 97 01:36:08 pm" To: softweyr@xmission.com (Wes Peters) Date: Sat, 31 May 1997 21:55:06 -0500 (EST) Cc: psd@worldaccess.nl, questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > pauld@mail.dotcom.fr writes: > > Which binary format does FreeBSD use? (I looked into a file but it wasn't > > ELF like linux uses and I don't know if it's still a.out but that wouldn't > > be that great I think (adress space, that's why linux uses ELF)) > > FreeBSD uses a.out because there aren't any good reasons to change. > I'm not sure why Linux ended up with so many problems in their a.out > format, and won't speculate to avoid starting a flame war. ;^) > > ELF does not grant any larger address space than a.out, the address > space is pretty much dictated by the adressing model of the MMU. As far > as I know, both Linux and FreeBSD use the i386 32-bit flat memory model, > which yeilds a virtual address space of 2^32 bytes. > > FreeBSD does support Linux ELF binaries if you load the Linux emulator. > One more thing, FreeBSD does have native ELF support available. We have intentionally decided not to make it standard yet. The scales haven't tipped in the ELF direction yet, but may someday. There are a few problems with a.out, but those aren't normally apparent... ELF just isn't the solution to every binary format problem. ELF vs. a.out isn't generally a reason to choose an OS. John