Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 10:31:08 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        jgreco@ns.sol.net
Subject:   Re: BSDi binary compatibility?
Message-ID:  <200008131731.KAA01657@vashon.polstra.com>
In-Reply-To: <200008131453.JAA68356@aurora.sol.net>
References:  <200008131453.JAA68356@aurora.sol.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200008131453.JAA68356@aurora.sol.net>,
Joe Greco  <jgreco@ns.sol.net> wrote:
> Maybe someone here knows.  :-)
> 
> I'm looking to compile a program that will ultimately run on a BSDi 2.1
> machine.  Are there any versions of FreeBSD that are capable of doing the
> compile and creating a compatible binary?  (I've got FreeBSD releases 
> since 2.0.5 stashed away).

Yes, a.out static executables built under FreeBSD-2.2 will run under
BSD/OS-3.x and -4.x at least.

FreeBSD ELF executables won't work under BSD/OS, however, because
along with the switch to ELF the system call mechanism was changed
from "lcall 7,0" to the faster "int $0x80".  BSD/OS doesn't support
the latter, apparently.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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