Date: Tue, 9 Aug 2005 16:23:29 -0500 (CDT) From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= <sean-freebsd@farley.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: hackers@freebsd.org Subject: Re: Converting libfoo.so for linux to freebsd Message-ID: <20050809161545.M871@thor.farley.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
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-910406556-1123622609=:871 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 9 Aug 2005, 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... Although I have never tried it, I had read somewhere that you could possibly convert a Linux .so using objcopy. Found it: http://groups-beta.google.com/group/fa.freebsd.questions/browse_frm/thread/= 2c1ce35fab83427/7add378b8e5a7006 I am curious if it works for you too. Se=E1n --=20 sean-freebsd@farley.org --0-910406556-1123622609=:871--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050809161545.M871>