Subject: Re: 4.3BSD/Ultrix binary emulation
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: A. Wik <aw@aw.gs>
List: port-vax
Date: 03/02/2006 05:09:51
On Wed, 1 Mar 2006, Thor Lancelot Simon wrote:

> On Wed, Mar 01, 2006 at 10:58:57PM +0100, Johnny Billquist wrote:
> > Actually, I don't think that has ever worked.
> > The Ultrix compat stuff is (I think) for the DECstations. Don't think it 
> > has ever been worked over for VAX.
> > 
> > But I'm very unsure about this all. Never tried it myself...
> 
> I have.  At least with Ultrix 3.x binaries, there are so few added
> system calls that it "just works" with nothing but the 4.3 compatibility
> code.  I do not know what would happen if the binary called one of the
> 4.2 system calls that were deprecated in 4.3, and that we removed (such as
> vwrite()) but I am not sure Ultrix retained them either.
> 
> At least, it "just worked" as of NetBSD 1.4 or thereabouts, which was
> the last time I had occasion to try.
> 
> Does your kernel have the correct EXEC_ options to run a VAX a.out
> executable?

EXEC_AOUT and EXEC_SCRIPT seem to be standard - are there
others that might be relevant?

-aw