Merge from vendor branch FILE:
[dragonfly.git] / sys / emulation / svr4 / README
1 This is a SysVR4 emulator derived from work done as part of the NetBSD
2 Project by Christos Zoulas.  It has been ported to FreeBSD by Mark Newton.
3
4 To use it:
5
6 1.  Choose one of:
7       a.  Add "pseudo-device streams" to your kernel config file and rebuild,
8           reboot; or
9       b.  Build and install the streams module in /sys/modules/streams
10
11 2.  Build and install the svr4 module in /sys/modules/svr4
12
13 3.  Type "svr4" to start it up.
14
15 4.  Grab compat_sol26.tar.gz or compat_svr4.tar.gz from
16     http://www.freebsd.org/~newton/freebsd-svr4 and install them in
17     /compat/svr4
18
19 5.  Run "sh SVR4_MAKEDEV all" in /compat/svr4/dev
20
21 6.  Mount a Solaris/x86 v2.6 or v7 CD-ROM on /cdrom (also works with 
22     v2.4 and v2.5.1, but you need different symlinks in /compat/svr4)
23
24 7.  Brand any executables you want to run, and/or set the
25     kern.fallback_elf_brand sysctl to 'SVR4' to establish this as the
26     default emulator for unbranded executables.
27
28 8.  See if your SysVR4 programs work.
29
30 It's early days yet, folks -- You'll probably have trouble getting 100%
31 functionality out of most things (specifically, poll() on a socket doesn't
32 look like it works at the moment, so Netscape doesn't work (among other
33 things)).  Patches will be appreciated (use send-pr).
34
35    - Mark Newton
36      newton@atdot.dotat.org
37
38 $FreeBSD: src/sys/modules/svr4/README,v 1.3 1999/08/28 00:47:42 peter Exp $
39 $DragonFly: src/sys/emulation/svr4/Attic/README,v 1.2 2003/06/17 04:28:47 dillon Exp $