Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2000 18:09:47 +0400 (MSD)
From:      "Aleksandr A.Babaylov" <babolo@links.ru>
To:        jmd526@hotmail.com (John Daniels)
Cc:        freebsd-emulation@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: linux application
Message-ID:  <200004131409.SAA27850@aaz.links.ru>
In-Reply-To: <20000413054014.2411.qmail@hotmail.com> from "John Daniels" at "Apr 13, 0 01:40:14 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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-ports" in the body of the message




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