From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 9 19:38:41 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A7B416A420 for ; Tue, 9 Aug 2005 19:38:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF43D43D66 for ; Tue, 9 Aug 2005 19:38:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j79JbX9Z030395 for ; Tue, 9 Aug 2005 13:37:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 09 Aug 2005 13:37:34 -0600 (MDT) Message-Id: <20050809.133734.08360256.imp@bsdimp.com> To: hackers@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 09 Aug 2005 13:37:33 -0600 (MDT) Cc: Subject: Converting libfoo.so for linux to freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 19:38:41 -0000 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... Warner