Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 1996 21:41:22 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
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
Subject:   Re: cvs commit: ports/games/doom - Imported sources
Message-ID:  <199612190541.VAA09462@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199612190501.XAA22101@jake.lodgenet.com> (erich@lodgenet.com)

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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 <args> || (/usr/bin/linux; pat <args>)'
 * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612190541.VAA09462>