diff --git a/share/man/man8/compat_freebsd.8 b/share/man/man8/compat_freebsd.8 index 204c87260b95..a58cd2d8dc1b 100644 --- a/share/man/man8/compat_freebsd.8 +++ b/share/man/man8/compat_freebsd.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: compat_freebsd.8,v 1.13 2002/02/13 08:18:21 ross Exp $ +.\" $NetBSD: compat_freebsd.8,v 1.14 2011/11/21 14:27:41 njoly Exp $ .\" from: compat_linux.8,v 1.1 1995/03/05 23:30:36 fvdl Exp .\" .\" Copyright (c) 1995 Frank van der Linden @@ -128,18 +128,15 @@ Put it on the system you have access to, and check which shared libraries it needs by running .Sq ldd sim : -.Pp -.Bl -tag -width 123 -compact -offset indent -.It me@freebsd% ldd /usr/local/lib/SimCity/res/sim -.nf +.Bd -literal -offset indent +me@freebsd% ldd /usr/local/lib/SimCity/res/sim /usr/local/lib/SimCity/res/sim: -lXext.6 =\*[Gt] /usr/X11R6/lib/libXext.so.6.0 (0x100c1000) -lX11.6 =\*[Gt] /usr/X11R6/lib/libX11.so.6.0 (0x100c9000) -lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x10144000) -lm.2 =\*[Gt] /usr/lib/libm.so.2.0 (0x101a7000) -lgcc.261 =\*[Gt] /usr/lib/libgcc.so.261.0 (0x101bf000) -.fi -.El +.Ed .Pp You would need go get all the files from the last column, and put them under @@ -179,10 +176,9 @@ So, if you have these libraries on your system: .Pp and you find that the ldd output for a new binary you want to install is: -.Pp -.nf +.Bd -literal \-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x10144000) -.fi +.Ed .Pp You won't need to worry about copying .Pa /usr/lib/libc.so.2.1 @@ -259,12 +255,11 @@ ldconfig program with directory arguments in which the runtime linker should look for shared libs. .Pa /usr/lib are standard, you could run like the following: -.Pp -.Bl -tag -width 123 -compact -offset indent -.It me@netbsd% mkdir -p /emul/freebsd/var/run -.It me@netbsd% touch /emul/freebsd/var/run/ld.so.hints -.It me@netbsd% ldconfig-freebsd /usr/X11R6/lib /usr/local/lib -.El +.Bd -literal -offset indent +me@netbsd% mkdir -p /emul/freebsd/var/run +me@netbsd% touch /emul/freebsd/var/run/ld.so.hints +me@netbsd% ldconfig-freebsd /usr/X11R6/lib /usr/local/lib +.Ed .Pp Note that argument directories of ldconfig are mapped to @@ -298,14 +293,11 @@ You can test this by running the on itself. Suppose that you have it installed as .Ic ldd-freebsd , it should produce something like: -.Pp -.Bl -tag -width 123 -compact -offset indent -.It me@netbsd% ldd-freebsd `which ldd-freebsd` -.nf +.Bd -literal -offset indent +me@netbsd% ldd-freebsd `which ldd-freebsd` /usr/local/bin/ldd-freebsd: -lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x1001a000) -.fi -.El +.Ed .Pp This being done, you are ready to install new .Fx @@ -397,7 +389,6 @@ retrieve files too. The way to look something up is to retrieve all the files in the distribution, and ``tar ztvf'' through them for the file you need. Here is an example of a list of files that you might need. -.Pp .Bd -literal -offset indent Needed Files diff --git a/share/man/man8/compat_ibcs2.8 b/share/man/man8/compat_ibcs2.8 index d224ae2fb36f..febee805f26c 100644 --- a/share/man/man8/compat_ibcs2.8 +++ b/share/man/man8/compat_ibcs2.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: compat_ibcs2.8,v 1.5 2001/09/05 23:47:15 wiz Exp $ +.\" $NetBSD: compat_ibcs2.8,v 1.6 2011/11/21 14:27:41 njoly Exp $ .\" .\" Copyright (c) 1998 Scott Bartram .\" Copyright (c) 1995 Frank van der Linden @@ -56,7 +56,7 @@ iBCS2 supports COFF, ELF, and x.out (XENIX) binary formats. Binaries from SCO OpenServer (version 5.x) are the only ELF binaries that have been tested. Most programs should work, but not ones that use or depend on: -.sp +.Pp .Bl -item -compact -offset indent .It kernel internal data structures @@ -67,7 +67,7 @@ local X displays (uses a STREAMS pipe) .It virtual 8086 mode .El -.sp +.Pp The iBCS2 compatibility feature is active for kernels compiled with the .Dv COMPAT_IBCS2 @@ -122,28 +122,25 @@ will need to be root on your .Nx system to do the necessary installation steps). -.Pp .Bl -tag -width "COFF binaries" .It COFF binaries You can simply copy all of the available shared libraries since they are fairly small in size. The COFF shared libraries are typically found in /shlib and can be obtained from the following sources: -.sp -.nf +.Bd -literal SCO UNIX version 3.x (aka ODT) SCO UNIX version 5.x (aka OpenServer) SCO UnixWare Many versions of SVR4.2/x86 -.fi -.sp +.Ed +.Pp After copying the shared libraries, you should have at least the following files on your system: -.Pp -.nf +.Bd -literal .Pa /emul/ibcs2/shlib/libc_s .Pa /emul/ibcs2/shlib/libnsl_s .Pa /emul/ibcs2/shlib/protlib_s -.fi +.Ed .It ELF binaries You can simply copy all of the available shared libraries from the source system or distribution or use @@ -152,13 +149,12 @@ to determine the libraries required by a specific binary. .Pp After copying the shared libraries, you should have at least the following files on your system: -.Pp -.nf +.Bd -literal .Pa /emul/ibcs2/usr/lib/libc.so.1 .Pa /emul/ibcs2/usr/lib/libcrypt.so .Pa /emul/ibcs2/usr/lib/libndbm.so .Pa /emul/ibcs2/usr/lib/libsocket.so.1 -.fi +.Ed .Pp .El If you don't have access to a SCO system, you will need to get the @@ -170,10 +166,9 @@ mounted and used to copy the necessary files. .Pp Run the following script to copy the basic set of files from a SCO distribution directory mounted somewhere locally: -.Pp -.nf +.Bd -literal /usr/share/examples/emul/ibcs2/ibcs2-setup [directory] -.fi +.Ed .Pp You should now be set up for SCO binaries which only need standard shared libs. diff --git a/share/man/man8/compat_linux.8 b/share/man/man8/compat_linux.8 index b962ec0a6734..cffe9fa906a5 100644 --- a/share/man/man8/compat_linux.8 +++ b/share/man/man8/compat_linux.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: compat_linux.8,v 1.36 2007/12/02 21:45:59 wiz Exp $ +.\" $NetBSD: compat_linux.8,v 1.37 2011/11/21 14:27:41 njoly Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -135,15 +135,12 @@ Example: you have just ftp-ed the Linux binary of Doom. Put it on the Linux system you have access to, and check which shared libraries it needs by running .Sq ldd linuxxdoom : -.Pp -.Bl -tag -width 123 -compact -offset indent -.It (me@linux) ldd linuxxdoom -.nf -libXt.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libXt.so.3.1.0 -libX11.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libX11.so.3.1.0 -libc.so.4 (DLL Jump 4.5pl26) =\*[Gt] /lib/libc.so.4.6.29 -.fi -.El +.Bd -literal -offset indent +(me@linux) ldd linuxxdoom + libXt.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libXt.so.3.1.0 + libX11.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libX11.so.3.1.0 + libc.so.4 (DLL Jump 4.5pl26) =\*[Gt] /lib/libc.so.4.6.29 +.Ed .Pp You would need go get all the files from the last column, and put them under @@ -194,10 +191,9 @@ So, if you have these libraries on your system: and you find that the .Ic ldd output for a new binary you want to install is: -.nf -.Pp +.Bd -literal libc.so.4 (DLL Jump 4.5pl26) =\*[Gt] /lib/libc.so.4.6.29 -.fi +.Ed .Pp you won't need to worry about copying .Pa /lib/libc.so.4.6.29 @@ -455,7 +451,6 @@ The fastest way to look something up is to retrieve all the files in the contents subdirectory, and grep through them for the file you need. Here is an example of a list of files that you might need, and in which contents-file you will find it by grepping through them: -.Pp .Bd -literal -offset indent Needed Package @@ -477,7 +472,6 @@ it will tell you on which the package is, in our case it will tell us in which subdirectory we need to look. For our example, we would find the following locations: -.Pp .Bd -literal -offset indent Package Location