Subject: Re: Debugging Solaris binaries
To: None <port-sparc64@NetBSD.ORG>
From: None <eeh@netbsd.org>
List: port-sparc64
Date: 02/16/2001 18:26:44
	OK, I have a 64-bit kernel, and want to run 32-bit Solaris binaries.

	I've never heard of "compat_svr4_32" before.  I have all the usual (32-bit)
	suspects loaded into "/emul/svr4/usr/lib", "/emul/svr4/dev", "/emul/svr4/etc"
	and friends.

	How do I create a "compat_svr4_32" environment versus a "compat_svr4" one?

Grab -current.  To your config file add:

options COMPAT_SVR4
options COMPAT_NETBSD32
optiont COMPAT_SVR4_32

Build a kernel.  Make `/emul/svr4_32' point to `/emul/svr4'.  Install
the kernel.  Reboot.

	Is it going to be basically hopeless trying to run Solaris 7(ish)
	32-bit binaries under (a more or less vanilla-ish) NetBSD 1.5?

Yes, it is hopeless.

Eduardo