From owner-freebsd-questions Mon May 1 12:48:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 1DAC537B782 for ; Mon, 1 May 2000 12:48:35 -0700 (PDT) (envelope-from gjohnson@nola.srrc.usda.gov) Received: (from glenn@localhost) by symbion.srrc.usda.gov (8.9.3/8.9.3) id OAA12303; Mon, 1 May 2000 14:46:25 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Mon, 1 May 2000 14:46:25 -0500 To: Gene Harris Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Compiling under Linux emulation Message-ID: <20000501144625.A12126@node1.cluster.srrc.usda.gov> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from zeus@tetronsoftware.com on Mon, May 01, 2000 at 10:00:11AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 01, 2000 at 10:00:11AM -0500, Gene Harris wrote: > I am attempting to compile xfstt under Linux emualtion for testing > purposes. Can someone point me in the right direction for setting the > path and environment variables? I am trying to produce a pure Linux > executable to run in compatibility mode. Assuming you have the linux_base and linux_devtools ports installed, from your login prompt type: '/compat/linux/bin/bash'. This will switch you to a Linux shell and subsequent calls to binaries will actually run from /compat/linux/. Although I believe that if some binary is not present under /compat/linux then it will call the FreeBSD utility which may not work. Hope that helps. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message