From owner-freebsd-emulation Thu Dec 5 01:28:46 1996 Return-Path: owner-emulation Received: (from root@localhost) by freefall.freebsd.org (8.8.3/8.7.3) id BAA26261 for emulation-outgoing; Thu, 5 Dec 1996 01:28:46 -0800 (PST) Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA26256 for ; Thu, 5 Dec 1996 01:28:43 -0800 (PST) Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (193.174.9.9) with smtp id ; Thu, 5 Dec 96 10:27 MET Received: from wavehh.UUCP by mail.hanse.de with UUCP for vitjok@fasts.COM id ; Thu, 5 Dec 96 10:27 MET Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA20676; Thu, 5 Dec 96 10:12:39 +0100 Date: Thu, 5 Dec 96 10:12:39 +0100 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9612050912.AA20676@wavehh.hanse.de> To: vitjok@fasts.COM Cc: freebsd-emulation@freebsd.org Subject: Re: status of windows, dos and svr4 emulation Newsgroups: hanse-ml.freebsd.emulation References: Reply-To: cracauer@wavehh.hanse.de Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >When netbsd's svr4 emulation will be ported to FreeBSD? Well, what's the application you want it for? The only piece of SVR4/Solaris/x86 software I miss is the Java JDK. In the long term it's probably more efficient to do a port of teh JDK to FreeBSD on my own, run the Linux version or help the Kaffe folks. The NetBSD folks use SVR4 support to be able to run Solaris/Sparc binaries on the Sparc port. That's probably a wider range of software. SVR4 support is definitivly easier to do than the other emulators you mentioned. What you need to do is to exchange accesses to netBSD specific kernel data types, functions and places with FreeBSD's equivalents. Then, figure out how NetBSD's scripts that maps syscalls to library calls work and do the same for FreeBSD. Take FreeBSD's linux emulator and copy the pieces that recognize a binary that needs emulation and run it with an /emul tree. Look like a lot of detective work, but few things that are really hard to solve or require a new implementation of something. The only real issue is keeping Linux ELF binaries and Solaris Binaries (with are always ELF) different. NetBSD has the same problem. Most folks ended up compiling only one of Linux ELF *or* SVR4 into their kernels. In a word: Nothing I want to beat my head against. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin_Cracauer@wavehh.hanse.de http://cracauer.cons.org Fax.: +4940 5228536 "As far as I'm concerned, if something is so complicated that you can't ex- plain it in 10 seconds, then it's probably not worth knowing anyway"- Calvin