From owner-freebsd-hackers Mon May 29 10:57: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id CCCAB37B618 for ; Mon, 29 May 2000 10:56:56 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id VAA29703; Mon, 29 May 2000 21:56:51 +0400 (MSD) Message-Id: <200005291756.VAA29703@aaz.links.ru> Subject: Re: AW: Linking Linux object files under FreeBSD In-Reply-To: from "d_f0rce" at "May 29, 0 07:07:01 pm" To: d_f0rce@gmx.de (d_f0rce) Date: Mon, 29 May 2000 21:56:51 +0400 (MSD) Cc: babolo@links.ru, freebsd-hackers@freebsd.org From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG d_f0rce writes: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hi, > > > > Background: > > > I have to extend a programm for which I only got > > > the object Files. This programm calls functions > > > I have to write. As I don't have a Linux system > > > at home I would like to use those object-files > > > under FreeBSD to test my code. > > > > > > Is this possible? > > > > It is possible. > > I chrooted to /compat/linux for this job, > > but someone write, that using of /compat/linux/bin/bash > > as shell is enough for this work > > Hmm, i tried using /compat/linux/bin/bash as shell but this > didn't work. Same error messages. > > When I do a "chroot /compat/linux/ /bin/bash" I have to > install a whole developement environment under /compat/linux or > do I miss something here. YES OF CAUSE! You need full linux developement environment to translate or link something for linux I think that in named now /usr/ports/devel/linux_devtools (it was linux_devel when I work with) > Isn't there an easier/quicker way to generate my program besides > from using Linux itself? > If no, is there a port to install a Linux cc under /compat/linux? -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message