Date: Tue, 9 Aug 2005 16:05:25 -0400 From: Kris Kennaway <kris@obsecurity.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: hackers@freebsd.org Subject: Re: Converting libfoo.so for linux to freebsd Message-ID: <20050809200524.GA56682@xor.obsecurity.org> In-Reply-To: <20050809.133734.08360256.imp@bsdimp.com> References: <20050809.133734.08360256.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC+QyEWry0BWjoQKURAu8vAKDIC4GYLBYOPsLfZhJrMPsLuyc1YQCgjeeE 4sX1/fkr8FYkPWuaS2lzO7s= =aftE -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050809200524.GA56682>