Converting libfoo.so for linux to freebsd

Kris Kennaway kris at obsecurity.org
Tue Aug 9 20:27:23 GMT 2005


On Tue, Aug 09, 2005 at 01:37:34PM -0600, M. Warner Losh wrote:
> I have recently purcahsed a device that comes with a .so for linux,
> but no sources.  Is there any way one can take an arbitrary linux .so
> which appears to have no dependencies to a FreeBSD .so?  The binary
> code is about 20k or so.
> 
> Alternatively, anybody know how to take a linux .so and generate a .s
> that can be fed into the linux toolchain to generate a new .so...

Would it be acceptable to just build your binary as a linux one?  This
would be easiest.

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050809/6faaca5c/attachment.bin


More information about the freebsd-hackers mailing list