add compat_netbsd32(8); clarify compat_sunos(8) on netbsd/sparc64.
This commit is contained in:
parent
4091ab9fbd
commit
49a10e6208
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.43 2001/05/27 21:18:19 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.44 2001/06/07 15:25:31 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
MAN= compat_freebsd.8 compat_ibcs2.8 compat_linux.8 compat_osf1.8 \
|
||||
@ -9,6 +9,7 @@ MLINKS+=compat_svr4.8 compat_solaris.8
|
||||
MLINKS+=compat_svr4.8 compat_xenix.8
|
||||
MLINKS+=compat_pecoff.8 compat_win32.8
|
||||
MLINKS+=compat_pecoff.8 peace.8
|
||||
MLINKS+=compat_netbsd32.8 netbsd32.8
|
||||
MLINKS+=yp.8 nis.8
|
||||
MLINKS+=rc.8 rc.d.8
|
||||
MLINKS+=rc.8 rc.shutdown.8
|
||||
|
89
share/man/man8/compat_netbsd32.8
Normal file
89
share/man/man8/compat_netbsd32.8
Normal file
@ -0,0 +1,89 @@
|
||||
.\" $NetBSD: compat_netbsd32.8,v 1.1 2001/06/07 15:25:31 mrg Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2001 Matthew R. Green
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. The name of the author may not be used to endorse or promote products
|
||||
.\" derived from this software without specific prior written permission.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd February 3, 2001
|
||||
.Dt COMPAT_NETBSD32 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm compat_netbsd32
|
||||
.Nd setup procedure for 32-bit compatibility on 64-bit platform
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
module allows
|
||||
.Nx Ns Tn /sparc64
|
||||
to run
|
||||
.Nx Ns Tn /sparc
|
||||
executables.
|
||||
.Pp
|
||||
To use
|
||||
.Nm "" ,
|
||||
one must either have
|
||||
.Dv COMPAT_NETBSD32
|
||||
in the kernel, or load the compat_netbsd32 and exec_netbsd32 kernel
|
||||
modules.
|
||||
.Pp
|
||||
Static executables typically need no additional setup.
|
||||
Dynamic binaries require the dynamic linker, plus shared libaries. Most of
|
||||
these files will need to be placed under
|
||||
.Pa /emul/netbsd32 .
|
||||
.Pp
|
||||
The easiest method of installing support for these is via the
|
||||
.Pa emulators/netbsd32_compat14
|
||||
and
|
||||
.Pa emulators/netbsd32_compat15
|
||||
packages, provided in the
|
||||
.Nx
|
||||
packages collection. These install 32-bit a.out and ELF compatibility
|
||||
libraries, respectively. The details of what is actually necessary for
|
||||
correct operation are given below. This obviously is handled by the
|
||||
emulator packages.
|
||||
.Pp
|
||||
For a.out compatibility,
|
||||
.Pa /usr/libexec/ld.so
|
||||
from a 32-bit distribution is required to exist as
|
||||
.Pa /emul/netbsd32/usr/libexec/ld.so .
|
||||
For 32-bit ELF compatibility,
|
||||
.Pa /usr/libexec/ld.elf_so
|
||||
needs to be in
|
||||
.Pa /emul/netbsd32/usr/libexec/ld.elf_so .
|
||||
.Pp
|
||||
The shared libaries for a.out binaries do not live under the
|
||||
.Pa /emul/netbsd32
|
||||
directory, but under the
|
||||
.Pa /emul/aout
|
||||
directory, where the a.out dyanmic linker will find them.
|
||||
.Pp
|
||||
.Sh BUGS
|
||||
A list of things which fail to work in compatibility mode should
|
||||
be here.
|
||||
.Pp
|
||||
IPC is not well supported.
|
||||
.Pp
|
||||
.Xr sysctl 3
|
||||
is not well supported.
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: compat_sunos.8,v 1.11 1999/03/17 20:31:19 garbled Exp $
|
||||
.\" $NetBSD: compat_sunos.8,v 1.12 2001/06/07 15:25:31 mrg Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1984 Theo de Raadt
|
||||
.\" All rights reserved.
|
||||
@ -30,13 +30,14 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd June 15, 1994
|
||||
.Dd February 3, 2001
|
||||
.Dt COMPAT_SUNOS 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm compat_sunos
|
||||
.Nd setup procedure for m68k and sparc architectures
|
||||
.Nd setup procedure for m68k, sparc and sparc64 architectures
|
||||
.Sh DESCRIPTION
|
||||
.Nx Ns Tn /sparc64 ,
|
||||
.Nx Ns Tn /sparc
|
||||
and some of the
|
||||
.Nx Ns Tn /m68k
|
||||
@ -112,6 +113,14 @@ in a location where the
|
||||
compatibility code will look for
|
||||
first, where they do not conflict with the standard libraries.
|
||||
.Pp
|
||||
.Sh NOTES
|
||||
When using
|
||||
.Nm
|
||||
on
|
||||
.Nx Ns Tn /sparc64 ,
|
||||
the
|
||||
.Sy COMPAT_NETBSD32
|
||||
option must also be used.
|
||||
.Sh BUGS
|
||||
A list of things which fail to work in compatibility mode should
|
||||
be here.
|
||||
@ -132,4 +141,7 @@ The
|
||||
option to
|
||||
.Xr mount_nfs 8
|
||||
will also have the desired effect, but is less preferable.
|
||||
|
||||
.Pp
|
||||
The
|
||||
.Nx Ns Tn /sparc64
|
||||
support is less complete than the other ports.
|
||||
|
Loading…
Reference in New Issue
Block a user