Subject: Re: linux so, native program
To: Shelby <snoonan@tbearsiberians.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: netbsd-users
Date: 10/05/2002 08:18:45
On Fri, Oct 04, 2002 at 09:58:22PM -0700, Shelby wrote:
> I have a .so (binary only) from linux i386. Is there any way I can write a
> program using it. Do I have to cross compile my program to linux and run under
> emulation, and if so how?
If the Linux .so does not call any external functions, then you should be
able to use it. However, if the .so uses any e.g. libc functions, then
it will only work with the Linux libc, and thus require a native linux app
to run it.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>