From owner-freebsd-questions Thu Jul 25 7:54:24 2002 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 7413A37B406 for ; Thu, 25 Jul 2002 07:54:10 -0700 (PDT) Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E2C43E4A for ; Thu, 25 Jul 2002 07:54:09 -0700 (PDT) (envelope-from alex@abingdon74.freeserve.co.uk) Received: from modem-760.articuno.dialup.pol.co.uk ([217.135.28.248] helo=darkstar.freeserve.co.uk) by cmailg4.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 17Xk0D-00084P-00 for freebsd-questions@freebsd.org; Thu, 25 Jul 2002 15:54:06 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Alex Drummond To: freebsd-questions@freebsd.org Subject: Re: FreeBSD compatibility Date: Fri, 26 Jul 2002 15:52:24 +0000 User-Agent: KMail/1.4.2 References: <20020725115236.GA80539@catflap.home.slightlystrange.org> In-Reply-To: <20020725115236.GA80539@catflap.home.slightlystrange.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207261552.24254.alex@abingdon74.freeserve.co.uk> 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 It might be easier to recompile them for FreeBSD, instead of running the=20 binaries using Linux emulation. As long as you haven't used any=20 linux-specific system calls, of course. Mostly you shouldn't need to alte= r=20 your code much / at all. Alex On Thursday 25 July 2002 11:52 am, Daniel Bye wrote: > On Thu, Jul 25, 2002 at 02:12:28PM +0300, Tiago Marques wrote: > > Dear Sirs, > > I'm a user of Linux, and i do some programming for college, some rela= ted > > with sockets, processes, and all kinds of linux system programming. > > I've been thinking about moving to FreeBSD but i would like to know i= f > > the programs i do in Linux will be compatible with FreeBSD. > > I've already installed OpenBSD in another computer but due to some > > problems here i didn't have the time to test those things yet... > > Also, i'm a regular user, but not very experienced in Linux, i just k= now > > my way around, not much more. Do you think i'll be able to use FreeBS= D > > easily or is it more complicated to mantain and admin ? > > Sorry all this questions > > Provided your Linux programs don't make too heavy use of the Linux proc= fs > (which is significantly different to the BSD implementation), or any of > the extended i386 sys calls, you should be able to run them under FreeB= SD, > using the Linux emulation layer. The best thing to do is install FreeB= SD, > including the Linux emulation bits and pieces, and try it out. > > (There is code in the base system to support linprocfs, but I have neve= r > had call to use it so cannot offer any help or opinions about it) > > The name FreeBSD refers to the OS as a whole, unlike Linux, which is th= e > name of the kernel. Therefore, you can consider FreeBSD in the same te= rms > as RedHat or SuSE - RedHat's OS is _based_on_ a Linux kernel, but the > specific details of the implementation of the rest of the system are do= wn > to the developers who put the thing together. > > Because of this, there is only one FreeBSD "distribution", which you ca= n > rely on being sane from one install to the next - whereas the multitude= of > Linux distros are effectively different OSen, and you will find > considerable variation in the specifics. (However, that's not to say t= hat > one RedHat install will be vastly different to the next...) > > Personally, I like FreeBSD's design. I find it to be clean and systema= tic, > and yes, pretty easy to keep it going smoothly. It also has this list, > which is a truly marvellous source of help and information for those wh= o > can't find what they need elsewhere. Installing new apps is a breeze > using the Ports system (which is so good, that NetBSD and OpenBSD have > adopted it), and the documentation for the base system is, in my opinio= n, > some of the best written and maintained documentation I have ever come > across. > > But this is all just so much personal opinion. Try it, break it, fix i= t, > see what you think! > > Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message