From owner-freebsd-questions Wed Jan 22 17:45:49 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B06C37B405 for ; Wed, 22 Jan 2003 17:45:45 -0800 (PST) Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F67D43ED8 for ; Wed, 22 Jan 2003 17:45:44 -0800 (PST) (envelope-from crossd@cs.rpi.edu) Received: from [128.213.11.162] (d11-162.dyn.cs.rpi.edu [128.213.11.162]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id UAA62266; Wed, 22 Jan 2003 20:45:43 -0500 (EST) Subject: Re: Building Linux binaries under FreeBSD/Linux layer From: "David E. Cross" To: "J. Seth Henry" Cc: questions@FreeBSD.ORG In-Reply-To: <20030122131634.O30220-100000@whitetower.gambrl01.md.comcast.net> References: <20030122131634.O30220-100000@whitetower.gambrl01.md.comcast.net> Content-Type: text/plain Organization: Department of Computer Science Laboratory Message-Id: <1043286344.46361.24.camel@gosalyn.crossd.priv.cs.rpi.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 22 Jan 2003 20:45:45 -0500 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, it can be done. It is done by a couple of the ports, and as such there is a pre-ported way of doing it. /usr/ports/devel/linux_devtools and linux_devtools-7 (depending which version of the linux_base you have). After that its mostly automatic. You may need to do things like get kernel-source, or other bits depending on what you are doing. On Wed, 2003-01-22 at 13:22, J. Seth Henry wrote: > I know this is probably going to be an odd question, but is there a way to > create true "linux" shell within FreeBSD, capable of running linux gcc and > creating a linux binary? > > I want to play with Midori Linux, which involves compiling a lot of Linux > source, for Linux. Dual booting is out of the question (my FreeBSD box > runs the home automation system). I suspect it *could* be done with a > carefully configured shell, and a bunch of Linux RPM's installed to > support gcc and the assorted libraries. > > Is this possible, and if so, has pulled a stunt like this? > > If not, how well does VMware run under FreeBSD, and can you ssh into the > virtual machine once it's up? > > Thanks, > Seth Henry -- David E. Cross To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message