From owner-freebsd-hackers Thu Mar 6 16:45:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA25570 for hackers-outgoing; Thu, 6 Mar 1997 16:45:18 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA25565 for ; Thu, 6 Mar 1997 16:45:08 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA15446; Fri, 7 Mar 1997 11:14:18 +1030 (CST) From: Michael Smith Message-Id: <199703070044.LAA15446@genesis.atrad.adelaide.edu.au> Subject: Re: Converting foreign object files In-Reply-To: from Andrzej Bialecki at "Mar 6, 97 09:36:48 pm" To: abial@korin.warman.org.pl (Andrzej Bialecki) Date: Fri, 7 Mar 1997 11:14:18 +1030 (CST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andrzej Bialecki stands accused of saying: > > I have the following problem: > I bought certain commercial product (client-server suite with libraries > and API), and the company included libraries for BSDI and Linux. Now, I'd > like to use them somehow on FBSD. Obviously , I don't have the sources. Well, that was kinda stupid 8) Did you perhaps ask first whether you could use these libraries? > When I try to use BSDI version of the library, gcc doesn't see all of the > exported names - even after repacking the library with ``ar''. > With Linux version it's even worse - ``ar'' is unable even to unpack it. > > So, here is my question: is it possible at all to somehow "convert" these > objects to the format FBSD uses? ``file'' says something like: No. > Thanks for any sugestions. Grab the 'linux-devel' port, and build Linux binaries which you can then run under emulation. I've done this, and it works just dandy. (Thanks Eric H!) > Andrzej Bialecki _) _) _)_) _)_)_) _) _) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[