*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> compat_aout (8)              



NAME    [Toc]    [Back]

     compat_aout - setup for running a.out  OpenBSD  binaries  on
ELF systems

DESCRIPTION    [Toc]    [Back]

     OpenBSD  supports  running legacy a.out binaries.  This only
applies to
     i386 systems for now.  Most programs should work.

     The a.out compatibility feature is active for  kernels  compiled with the
     COMPAT_AOUT option and kern.emul.aout sysctl(8) enabled.

     A  lot  of programs are dynamically linked.  This means that
the shared libraries
 that the programs depend on and the  runtime  linker
are also needed.
  A "shadow root" directory for these files on the OpenBSD system will
     have to be created.  This directory  is  named  /emul/a.out.
Selected file
     operations  done  by legacy a.out programs run under OpenBSD
will look in
     this directory first.

   Setting up shared libraries    [Toc]    [Back]
     Up until OpenBSD 3.3, programs were  using  the  a.out  file
format.  When
     migrating  to  a  current  ELF system, some old binaries may
still be used.
     Before installing a current system, all the necessary shared
libraries in
     the  /usr/lib,  /usr/X11R6/lib, /usr/local/lib and the a.out
dynamic linker
     system,   namely   /usr/libexec/ld.so,   /usr/bin/ldd,   and
     should be copied to the corresponding location in the shadow
     (e.g., copy /sbin/ldconfig into  /emul/a.out/sbin/ldconfig).
The directory
 /emul/a.out/var/run should also be created.

     Before  running a.out binaries, the ld.so cache must be prepared, by running

     Once everything is set up properly, a.out programs will look
for shared
     libraries  under  /emul/a.out  and ELF programs will not see
the a.out
     shared libraries.

OpenBSD     3.6                           June      25,      2003
[ Back ]
 Similar pages
Name OS Title
compat_osf1 OpenBSD setup for running OSF/1 binaries under emulation
compat_hpux OpenBSD setup for running HP-UX binaries under emulation
compat_linux OpenBSD setup for running Linux binaries under emulation
compat_ibcs2 OpenBSD setup for running iBCS2 binaries under emulation
compat_ultrix OpenBSD setup for running Ultrix binaries under emulation
compat_sunos OpenBSD setup for running SunOS binaries under emulation
compat_bsdos OpenBSD setup for running BSDI binaries under emulation
compat_freebsd OpenBSD setup for running FreeBSD binaries under emulation
compat_svr4 OpenBSD setup for running SVR4/iBCS2 binaries under emulation
setup Linux setup devices and file systems, mount root file system
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service