Subject: Re: How to build "386BSD" binaries?
To: Jim Spath (Webmaster Jim) <jspath@mail.bcpl.lib.md.us>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 04/07/1997 10:52:38
On Sun, 6 Apr 1997 10:06:59 -0400 (EDT) 
 "Jim Spath (Webmaster Jim)" <jspath@mail.bcpl.lib.md.us> wrote:

 > The netscape executable comes in a file format that allows it to run in
 > either system.  How can I build programs (e.g., "xboing")  this way? 

...you can compile them and link them non-shared under BSD/OS :-)

Basically, the Netscape executable is a statically-linked BSD/OS
binary, which happens to run under both FreeBSD and NetBSD.

 > /jim> file netscape
 > netscape: 386BSD demand paged executable
 > /jim> cd /usr/X11R6/bin ; file xboing
 > xboing: NetBSD/i386 demand paged dynamically linked executable
 > /jim> cd /emul/freebsd/usr/X11R6/bin ; file xboing
 > xboing: FreeBSD/i386 demand paged dynamically linked executable

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939