Subject: Re: JDK status (was: Re: Netscape on macppc: it works!)
To: Emmanuel Dreyfus <>
From: Todd Vierling <>
List: port-macppc
Date: 02/27/2001 09:29:52
On Tue, 27 Feb 2001, Emmanuel Dreyfus wrote:

: > What missing JDK? Is it just we don't have a package of the linux JDK, or
: > does the linuxppc JDK not work?
: As it is explained at, we have a
: minimal support for the JDK-1.1.8. It seems 2.2.2 and 1.3.0 will not
: work because they use kernel threads, which are note yet available on
: NetBSD (Hence we cannot emulate that Linux feature)

LinuxThreads uses clone() to do threading. We have a clone() emulation
syscall, but it's completely borked at the moment, and I don't know if it
will ever get fixed.  (Processes start out OK, then a signal arrives and
they just hang.)

: If it's not too ugly, we can try adding some MacOS compatibility code to
: our kernel. Anyone know how it works exactly?

As for MacOS X, basic Darwin-based programs should need little more than a
COMPAT_DARWIN layer; after all, it's another BSD.

Carbon and etc. programs, and pre-MacOSX programs, will probably need a
little more help; in all cases, some MacOS files would be needed for
graphical apps.

-- Todd Vierling <>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --