From owner-freebsd-emulation Thu Apr 13 7: 9:55 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 7C55537B7B4; Thu, 13 Apr 2000 07:09:51 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id SAA27850; Thu, 13 Apr 2000 18:09:47 +0400 (MSD) Message-Id: <200004131409.SAA27850@aaz.links.ru> Subject: Re: linux application In-Reply-To: <20000413054014.2411.qmail@hotmail.com> from "John Daniels" at "Apr 13, 0 01:40:14 am" To: jmd526@hotmail.com (John Daniels) Date: Thu, 13 Apr 2000 18:09:47 +0400 (MSD) Cc: freebsd-emulation@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Daniels writes: > I have a Linux S/W tool. It seems to basically consists of an API that my > code calls to gain certain functionality. The API is implemented in object > files/binaries/libraries that are either linked into the code or shared. (I > am still reading through documentation, so I don't have it all figured out > yet.) > > This is supposed to run under Linux, so I believe that the libraries were > probably compiled under Linux, and are expecting to be called from programs > running under Linux. > > Will all of this run without modification due to FreeBSD's Linux > compatibility? Are there compiler options that I have to use to make this > work? (Obviously, I never done anything like this before) > > I have looked at Makefiles for Linux ports and they specify linux libraries > and the Linux-base package as necessary. Don't these specifications get > passed through to the compiler? > > Do I create a Makefile or compiler options file that will pass the necessary > info/options to the compiler? > > Basically, what do I have to do to create/compile/run programs that use > libraries developed on Linux. > > Any info or, a clue on where to find info, is greatly appreciated. I used chroot to /compat/linux for translate programms to link with linux libraries. I understand that is some way not chroot for translate, but to chroot is fast enough. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message