Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2001 17:40:56 +0100 (BST)
From:      Richard Tobin <richard@cogsci.ed.ac.uk>
To:        "Richard E. Hawkins" <dochawk@psu.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: a linux shell? (pgroup Fortran compiler)
Message-ID:  <200105081640.RAA03457@rhymer.cogsci.ed.ac.uk>
In-Reply-To: Richard E. Hawkins's message of Tue, 08 May 2001 12:32:58 -0400

next in thread | raw e-mail | index | archive | help
> I've seen reference in a couple of documents to a lunx shell.  What I'm 
> after is for tcsh to make programs within it think they're running 
> linux and with appropriate shell variables.  

/compat/linux/bin/bash

Once you're running that, if you (say) try to run ls, the shell will
try /bin/ls, but because it's in compatibility mode this will try
/compat/linux/bin/ls first, so you will get the Linux ls.

This works sufficiently well that using gcc will result in the Linux
gcc being run and generating Linux binaries, but I don't know if it will
be enough for what you need.

-- Richard

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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