From owner-freebsd-hackers Sat Oct 25 01:03:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA20838 for hackers-outgoing; Sat, 25 Oct 1997 01:03:31 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA20828 for ; Sat, 25 Oct 1997 01:03:27 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id BAA03032; Sat, 25 Oct 1997 01:03:26 -0700 (PDT) Message-ID: <19971025010326.61185@hydrogen.nike.efn.org> Date: Sat, 25 Oct 1997 01:03:26 -0700 From: John-Mark Gurney To: FreeBSD Hackers Subject: ld and kld dependancies... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk well.. I was working on getting kld dependancies... and right now my only problem is that when I'm creating the kld module with ld, it will store the dependancy as but when making sure that it exists on the machine, it will search for lib.a... so, as far as I can see, we have a couple options: a) hack ld to understand either raw names passed to -l, or our own little idea of a kld module, like .kld b) get the kld code to do the conversion from to lib.a, and just keep ld the same... I'm leaning towards option a... perhaps a -Bkld which will turn on -Bshareable and searching of .kld? of course then there is the matter of the search path... right now the search path of the kernel kld code is limited to the same directory that the original file was located... I don't see that as much of a problem... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD