From owner-freebsd-questions@FreeBSD.ORG Tue May 24 16:38:25 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B3CE16A41C for ; Tue, 24 May 2005 16:38:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A1B43D1F for ; Tue, 24 May 2005 16:38:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F2EBF51436; Tue, 24 May 2005 09:39:12 -0700 (PDT) Date: Tue, 24 May 2005 09:39:12 -0700 From: Kris Kennaway To: Valerio Daelli Message-ID: <20050524163912.GA62519@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Linux library conversion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 16:38:25 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 24, 2005 at 04:33:52PM +0000, Valerio Daelli wrote: > Hello > we have a linux perl program to run in FreeBSD. > We need to convert this library from Linux to FreeBSD: >=20 > msparser.so: ELF 32-bit LSB shared object, Intel 80386,=20 > version 1 (GNU/Linux), not stripped >=20 > Is there any tool similar to brandelf to convert this library and make it= =20 > work under FreeBSD? Not that I'm aware of. The Linux ABI is very different from FreeBSD (e.g. libc), so it's not at all a straightforward task. Kris --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCk1inWry0BWjoQKURApJPAKDkqNKxtIluZgzClwqjWbbp+KbgKgCcDdzn u9D8sjaP6ezyrrlB68x318Q= =bU8E -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--