From owner-freebsd-hackers Mon Jul 6 17:05:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA16152 for freebsd-hackers-outgoing; Mon, 6 Jul 1998 17:05:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA16125 for ; Mon, 6 Jul 1998 17:05:43 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.0/8.9.0) id JAA10621; Tue, 7 Jul 1998 09:35:35 +0930 (CST) Message-ID: <19980707093535.M7792@freebie.lemis.com> Date: Tue, 7 Jul 1998 09:35:35 +0930 From: Greg Lehey To: "Larry S. Lile" , hackers@FreeBSD.ORG Subject: Re: Object library formats References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Larry S. Lile on Mon, Jul 06, 1998 at 01:16:58PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 6 July 1998 at 13:16:58 -0400, Larry S. Lile wrote: > > Could this library be linked into a kernel? > > COFF/TRLLD.O: 80386 COFF executable not stripped - version 30821 Do they really use upper-case file names? How strange. Nevertheless, I'd guess that file(1) is wrong, and it's really an object, not an executable or a library. You could convert it to a.out and link it, but I doubt it would do anything useful. > It is part of the Olicom device driver development kit for their token > ring cards. They seem to think it would be compatible with a.out. Also > would this library be compatible with an elf'd system? I don't know how to convert it to elf, but it doesn't look necessary. The following file appears to be the elf version. > ELF/TRLLD.O: ELF 32-bit LSB relocatable, Intel 80386, version 1, > not stripped The real problem is: what do you expect these files to do? In order to do anything useful in the kernel, they need to fit in, which means they need to be written for FreeBSD. You don't even say what system they're written for, but I'll bet my bottom dollar it's not *BSD. In summary, I'd say "forget it". If you can't get source code (which you'd almost certainly need to modify significantly), it's no use to you. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message