*BSD News Article 29873


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!convex!convex!news.duke.edu!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!agate!boulder!csn!att-in!fnnews.fnal.gov!nntp-server.caltech.edu!news.claremont.edu!paris.ics.uci.edu!csulb.edu!csus.edu!netcom.com!mld
From: mld@netcom.com (Matthew Deter)
Subject: Re: How do I create shared libraries for FreeBSD?
Message-ID: <mldCp0Ft5.6Du@netcom.com>
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <179NBN2L@math.fu-berlin.de> <JKH.94Apr29015922@nx.ilo.dec.com>
Date: Fri, 29 Apr 1994 07:36:41 GMT
Lines: 16

Jordan Hubbard (jkh@nx.ilo.dec.com) wrote:

: Garrett has already explained that -Bshareable is correct, but just to
: correct a misconception here - a shared library is NOT smaller, it's
: the applications you link WITH it that are supposed to get smaller!
: :-)

In fact, in (simple) tests I've done with shared-libs, sometimes they
are LARGER than their archive format cousins...  As you say, however,
the programs they link with are MUCH smaller.

-- 
   $$    Matthew Deter
  $$$$   mld@netcom.com
 $$
  $$$$   "The fortune of my spirit is not to be blown into coins of brass
     $$   and flung to the winds as alms for the poor of the spirit."
  $$$$
   $$                              -- from the novel _Anthem_ by Ayn Rand