Unix and Linux Discussions Tagged with sunos |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
9 |
5,971 |
Shell Programming and Scripting |
|
|
|
0 |
3,109 |
Solaris |
|
|
|
9 |
2,786 |
Shell Programming and Scripting |
|
|
|
9 |
33,544 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,826 |
What is on Your Mind? |
|
|
|
7 |
2,774 |
Shell Programming and Scripting |
|
|
|
3 |
3,797 |
Solaris |
|
|
|
2 |
2,306 |
Shell Programming and Scripting |
|
|
|
11 |
2,460 |
Shell Programming and Scripting |
|
|
|
4 |
2,330 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
7,435 |
Shell Programming and Scripting |
|
|
|
3 |
4,296 |
Shell Programming and Scripting |
|
|
|
17 |
13,500 |
Solaris |
|
|
|
7 |
5,473 |
Solaris |
|
|
|
3 |
8,178 |
Shell Programming and Scripting |
|
|
|
1 |
4,885 |
Solaris |
|
|
|
0 |
3,944 |
Solaris |
|
|
|
1 |
5,848 |
Solaris |
|
|
|
16 |
13,808 |
Solaris |
|
|
|
3 |
6,148 |
Shell Programming and Scripting |
|
|
|
7 |
55,295 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,498 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,259 |
Shell Programming and Scripting |
|
|
|
11 |
7,341 |
Solaris |
|
|
|
1 |
2,050 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,795 |
Solaris |
|
|
|
1 |
4,937 |
Solaris |
|
|
|
3 |
6,258 |
Solaris |
|
|
|
3 |
17,370 |
Solaris |
|
|
|
1 |
3,782 |
Solaris |
|
|
|
0 |
1,982 |
Solaris |
|
|
|
1 |
13,648 |
Shell Programming and Scripting |
|
|
|
6 |
5,493 |
Solaris |
|
|
|
2 |
11,842 |
Solaris |
|
|
|
0 |
4,058 |
Solaris |
|
|
|
10 |
17,172 |
Solaris |
|
|
|
1 |
11,711 |
UNIX for Advanced & Expert Users |
|
|
|
11 |
10,015 |
Shell Programming and Scripting |
|
|
|
4 |
6,832 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,585 |
Solaris |
COMPAT_SUNOS(8) BSD System Manager's Manual COMPAT_SUNOS(8)
NAME
compat_sunos -- setup procedure for m68k, sparc and sparc64 architectures
DESCRIPTION
NetBSD/sparc64, NetBSD/sparc and some of the NetBSD/m68k architectures can run SunOS executables. Most executables will work.
The exceptions include programs that use the SunOS kvm library, and various system calls, ioctl()'s, or kernel semantics that are difficult
to emulate. The number of reasons why a program might fail to work is (thankfully) longer than the number of programs that fail to run.
Static executables will normally run without any extra setup. This procedure details the directories and files that must be set up to allow
dynamically linked executables to work.
The files you need are on your SunOS machine. You need to worry about the legal issues of ensuring that you have a right to use the required
files on your machine. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr/lib /emul/sunos/usr/5lib
2. cp SunOS:/usr/lib/lib*.so.*.* NetBSD:/emul/sunos/usr/lib
3. cp SunOS:/usr/5lib/lib*.so.*.* NetBSD:/emul/sunos/usr/5lib
4. cp SunOS:/usr/lib/ld.so NetBSD:/emul/sunos/usr/lib/ld.so
5. If you ever expect to use YP, you will want to create a link:
ln -s /var/run/ypbind.lock /etc/ypbind.lock
Alternatively, you can use an NFS mount to accomplish the same effect. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr
2. mount SunOS:/usr /emul/sunos/usr
This will place the SunOS libraries on your NetBSD machine in a location where the SunOS compatibility code will look for first, where they
do not conflict with the standard libraries.
NOTES
When using compat_sunos on NetBSD/sparc64, the COMPAT_NETBSD32 option must also be used.
BUGS
A list of things which fail to work in compatibility mode should be here.
SunOS executables can not handle directory offset cookies > 32 bits. Should such an offset occur, you will see the message ``sunos_getdents:
dir offset too large for emulated program''. Currently, this can only happen on NFS mounted filesystems, mounted from servers that return
offsets with information in the upper 32 bits. These errors should rarely happen, but can be avoided by mounting this filesystem with offset
translation enabled. See the -X option to mount_nfs(8). The -2 option to mount_nfs(8) will also have the desired effect, but is less
preferable.
The NetBSD/sparc64 support is less complete than the other ports.
BSD
February 3, 2001 BSD