From owner-cvs-ports Wed Dec 18 21:47:10 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA01754 for cvs-ports-outgoing; Wed, 18 Dec 1996 21:47:10 -0800 (PST) Received: from dfw-ix7.ix.netcom.com (dfw-ix7.ix.netcom.com [206.214.98.7]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id VAA01735; Wed, 18 Dec 1996 21:47:03 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (ala-ca13-06.ix.netcom.com [204.32.168.38]) by dfw-ix7.ix.netcom.com (8.6.13/8.6.12) with ESMTP id VAA25057; Wed, 18 Dec 1996 21:43:55 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.4/8.6.9) id VAA09462; Wed, 18 Dec 1996 21:41:22 -0800 (PST) Date: Wed, 18 Dec 1996 21:41:22 -0800 (PST) Message-Id: <199612190541.VAA09462@silvia.HIP.Berkeley.EDU> To: erich@lodgenet.com CC: erich@lodgenet.com, erich@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org In-reply-to: <199612190501.XAA22101@jake.lodgenet.com> (erich@lodgenet.com) Subject: Re: cvs commit: ports/games/doom - Imported sources From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * The detection is a bit trickier :( There is a kernel option * COMPAT_LINUX (I think) that will build the compat stuff staticly * in the kernel. If you don't specify COMPAT_LINUX, you can * modload and still get linux emulation. On my SMP kernel, I build * everything statically, so the `modstat |grep || /usr/bin/linux' will * fail with multiply defined symbols. The program will just work. On * my standard UP kernel, I use the lkm's so the pipline would be fine. * Maybe it should do something like `pat || (/usr/bin/linux; pat )' * to test the emulator? Oh. :( Hmm. What happens if you run /usr/bin/linux when it's already in the kernel? Are bad things going to happen? ;) If so, yeah, I guess your suggestion is fine. Satoshi