From owner-freebsd-hackers Sun Aug 13 10:32:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id DDD5B37B6FA for ; Sun, 13 Aug 2000 10:32:34 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id KAA06648; Sun, 13 Aug 2000 10:31:09 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id KAA01657; Sun, 13 Aug 2000 10:31:08 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Sun, 13 Aug 2000 10:31:08 -0700 (PDT) Message-Id: <200008131731.KAA01657@vashon.polstra.com> To: hackers@freebsd.org Reply-To: hackers@freebsd.org Cc: jgreco@ns.sol.net Subject: Re: BSDi binary compatibility? In-Reply-To: <200008131453.JAA68356@aurora.sol.net> References: <200008131453.JAA68356@aurora.sol.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200008131453.JAA68356@aurora.sol.net>, Joe Greco 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