Date: Thu, 5 Dec 96 10:12:39 +0100 From: cracauer@wavehh.hanse.de (Martin Cracauer) To: vitjok@fasts.COM Cc: freebsd-emulation@freebsd.org Subject: Re: status of windows, dos and svr4 emulation Message-ID: <9612050912.AA20676@wavehh.hanse.de> References: <Pine.BSF.3.91.961204195019.1501A-100000@server.fasts.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9612050912.AA20676>