From owner-freebsd-questions Mon Sep 18 10:26:09 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA23818 for questions-outgoing; Mon, 18 Sep 1995 10:26:09 -0700 Received: from netcomsv.netcom.com (uucp13.netcom.com [163.179.3.13]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA23813 for ; Mon, 18 Sep 1995 10:26:06 -0700 Received: from ssi3000.UUCP by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1) id KAA08945; Mon, 18 Sep 1995 10:09:26 -0700 Received: by seaysys.com (4.1/SMI-4.1) id AA26767; Mon, 18 Sep 95 12:01:57 CDT From: edward@seaysys.com (Edward E. Elzey) Message-Id: <9509181701.AA26767@seaysys.com> Subject: Re: FBSD v2.0.5: shared libraries - HOW TO...? To: freelist@elf.kendall.mdcc.edu (Don Whiteside) Date: Mon, 18 Sep 1995 12:01:56 -0500 (CDT) Cc: questions@FreeBSD.ORG In-Reply-To: from "Don Whiteside" at Sep 18, 95 10:05:25 am X-Mailer: ELM [version 2.4 PL22] Content-Type: text Content-Length: 1200 Sender: owner-questions@FreeBSD.ORG Precedence: bulk Received from Don Whiteside: > > On Wed, 13 Sep 1995 mikebo@tellabs.com wrote: > > > Is there any documentation of the Shared Library system employed by > > FreeBSD? For instance... I want to be able to replace a routine in > > the standard libc, but there doesn't appear to be any instructions on > > "how to" rebuild the shared libraries - as there is in SunOS > > /usr/lib/shlib.etc/README. There ought to be a simpler way to do this > > than "make"ing the entire libc from source. I only want to replace > > one module! > > I believe what you want is 'man ar' > Actually, no. That won't help. Shared object libraries are not created with 'ar', rather with 'ld'. The closest that I can think of to documentation would be to read 'man ld' and look for a description of '-Bshareable'. It is possible that this documentation is not 100% accurate due to FreeBSD specific differences in object structures. I really cannot speak authoritatively on this. -- Edward E. Elzey Technical Support Analyst Seay Systems, Inc. Millions of dollars of Department of Defense funds went into developing 4.4BSD. Get your tax dollars worth, use FreeBSD!