Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 21:56:51 +0400 (MSD)
From:      "Aleksandr A.Babaylov" <babolo@links.ru>
To:        d_f0rce@gmx.de (d_f0rce)
Cc:        babolo@links.ru, freebsd-hackers@freebsd.org
Subject:   Re: AW: Linking Linux object files under FreeBSD
Message-ID:  <200005291756.VAA29703@aaz.links.ru>
In-Reply-To: <NEBBJFAKELELJFJGEMNECECGCDAA.d_f0rce@gmx.de> from "d_f0rce" at "May 29, 0 07:07:01 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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