Subject: Re: 4.3BSD binary compatibility?
To: Erno Palonheimo <esp@cc.hut.fi>
From: Anders Magnusson <ragge@ludd.luth.se>
List: port-vax
Date: 04/25/2000 10:03:38
> 
> osantra# ./ls
> ./ls: Exec format error. Wrong Architecture.
> osantra# file ls
> ls: 386 demand paged pure executable
> osantra# od ls
> 0000000  000413 000000 114000 000000 012000 000000 067114 000000
> 0000020  000000 000000 000000 000000 000000 000000 000000 000000
> *
> 0002000  007400 041421 057320 140532 055004 150120 054520 054720
> ^C
> osantra#
> 
> Is the binary format of MORE/BSD something different from the usual
> 4.3BSD format? Or am I doing something wrong once again? :-)
> 
The reason it says "386 demand paged pure executable" is that there is 
no machine identifier in old VAX binaries, so file can't distinguish 
between VAX and i386 binaries.

The "Exec format error. Wrong Architecture" is probably due to either
1) COMPAT_VAX1K isn't compiled in or 2) COMPAT_VAX1K can't handle 
non-NetBSD binaries. I don't remember if it should work anymore.

You may also end up in that there is too much differences in the 4.3BSD
binary format and 4.3 Reno which is what I used before.

-- Ragge