From owner-freebsd-hackers Tue Jul 7 11:20:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA10220 for freebsd-hackers-outgoing; Tue, 7 Jul 1998 11:20:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (daemon@smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA10204 for ; Tue, 7 Jul 1998 11:20:31 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id LAA25348; Tue, 7 Jul 1998 11:20:28 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp01.primenet.com, id smtpd025313; Tue Jul 7 11:20:24 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id LAA18878; Tue, 7 Jul 1998 11:20:18 -0700 (MST) From: Terry Lambert Message-Id: <199807071820.LAA18878@usr01.primenet.com> Subject: Re: Object library formats To: lile@stdio.com (Larry S. Lile) Date: Tue, 7 Jul 1998 18:20:18 +0000 (GMT) Cc: tlambert@primenet.com, sbabkin@dcn.att.com, hackers@FreeBSD.ORG In-Reply-To: from "Larry S. Lile" at Jul 7, 98 09:54:51 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 1) Once you link a kernel to it, can you distribute the kernel, > > or does everyone who wants to use it have to link it as well. [ ... ] > As far as everyone linking it, I though once a library had been included > into the kernel anyone who wanted to call a function from it just needed > it header? Maybe I have misunderstood your question. The potential problem is that of ownership of the library. They may not want to cede publication rights to it by allowing you to distribute it, preferring to enforce a license that prohibits reverse engineering. > > 2) Is the object file redistributable, in ELF or in COFF->a,out > > form, such that someone with a stallion board an a token ring > > card can use a driver that depends on the library. > > Is there any conversion process between COFF and the libraries that > FreeBSD currently uses? I have always been able to recompile libraries > on the native os, so I don't know much about this. No, but very old versions of the GNU binutils allowed conversion from COFF to FreeBSD ELF. Writing the code to do this is not hard, just a bit tedious (as another poster pointed out). > Anyway, I assume it is redistributable, most things is ddks are, but > I can't find anything in the kit that says yes or no. When I get > a driver written I will have to call them and verify that I can pass > along their object code, or if everybody who wants it will have to > go to their website and get it. As long as it's available for relink (my second question), then it's less of an issue. You may want to contact John Polstra and John Birrell, and see how they are coming on an ELF snapshot system; then you could use the ELF code without conversion. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message