Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 1997 13:36:08 -0600 (MDT)
From:      Wes Peters <softweyr@xmission.com>
To:        Paul <psd@worldaccess.nl>
Cc:        questions@freebsd.org
Subject:   Binaries
Message-ID:  <199705311936.NAA18541@obie.softweyr.ml.org>
In-Reply-To: <Pine.LNX.3.95.970531142029.2942A-100000@dolphin.psd>
References:  <Pine.LNX.3.95.970531142029.2942A-100000@dolphin.psd>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705311936.NAA18541>