1999-01-30 06:49:01 +00:00
|
|
|
This is a SysVR4 emulator derived from work done as part of the NetBSD
|
|
|
|
Project by Christos Zoulas. It has been ported to FreeBSD by Mark Newton.
|
|
|
|
|
|
|
|
To use it:
|
|
|
|
|
1999-07-30 12:46:16 +00:00
|
|
|
1. Choose one of:
|
2001-05-01 11:26:14 +00:00
|
|
|
a. Add "device streams" to your kernel config file and rebuild,
|
1999-07-30 12:46:16 +00:00
|
|
|
reboot; or
|
|
|
|
b. Build and install the streams module in /sys/modules/streams
|
1999-01-30 06:49:01 +00:00
|
|
|
|
|
|
|
2. Build and install the svr4 module in /sys/modules/svr4
|
|
|
|
|
2000-11-29 10:40:53 +00:00
|
|
|
3. Type "kldload svr4" to start it up.
|
1999-01-30 06:49:01 +00:00
|
|
|
|
|
|
|
4. Grab compat_sol26.tar.gz or compat_svr4.tar.gz from
|
|
|
|
http://www.freebsd.org/~newton/freebsd-svr4 and install them in
|
|
|
|
/compat/svr4
|
|
|
|
|
|
|
|
5. Run "sh SVR4_MAKEDEV all" in /compat/svr4/dev
|
|
|
|
|
1999-07-30 12:46:16 +00:00
|
|
|
6. Mount a Solaris/x86 v2.6 or v7 CD-ROM on /cdrom (also works with
|
|
|
|
v2.4 and v2.5.1, but you need different symlinks in /compat/svr4)
|
1999-01-30 06:49:01 +00:00
|
|
|
|
1999-07-30 12:46:16 +00:00
|
|
|
7. Brand any executables you want to run, and/or set the
|
|
|
|
kern.fallback_elf_brand sysctl to 'SVR4' to establish this as the
|
|
|
|
default emulator for unbranded executables.
|
1999-01-30 06:49:01 +00:00
|
|
|
|
1999-07-30 12:46:16 +00:00
|
|
|
8. See if your SysVR4 programs work.
|
1999-01-30 06:49:01 +00:00
|
|
|
|
|
|
|
It's early days yet, folks -- You'll probably have trouble getting 100%
|
|
|
|
functionality out of most things (specifically, poll() on a socket doesn't
|
|
|
|
look like it works at the moment, so Netscape doesn't work (among other
|
|
|
|
things)). Patches will be appreciated (use send-pr).
|
|
|
|
|
1999-07-30 12:46:16 +00:00
|
|
|
- Mark Newton
|
1999-01-30 06:49:01 +00:00
|
|
|
newton@atdot.dotat.org
|
|
|
|
|
1999-08-28 01:08:13 +00:00
|
|
|
$FreeBSD$
|