From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 10 05:53:30 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 E08B416A616 for ; Wed, 10 Aug 2005 05:53:07 +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 245F6444BF for ; Tue, 9 Aug 2005 22:48:02 +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 j79MlZEe049327; Tue, 9 Aug 2005 16:47:35 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 09 Aug 2005 16:47:38 -0600 (MDT) Message-Id: <20050809.164738.102576325.imp@bsdimp.com> To: sean-freebsd@farley.org From: "M. Warner Losh" In-Reply-To: <20050809161545.M871@thor.farley.org> References: <20050809.133734.08360256.imp@bsdimp.com> <20050809161545.M871@thor.farley.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 09 Aug 2005 16:47:35 -0600 (MDT) Cc: hackers@freebsd.org Subject: Re: 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: Wed, 10 Aug 2005 05:53:30 -0000 In message: <20050809161545.M871@thor.farley.org> Se=E1n C. Farley writes: : 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/t= hread/2c1ce35fab83427/7add378b8e5a7006 : = : I am curious if it works for you too. That method doesn't seem to work. I'm guessing that other options are needed these days since -R is a list of sections to remove... Warner