Return to BSD News archive
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!serval!hlu From: hlu@eecs.wsu.edu (H.J. Lu) Newsgroups: comp.unix.bsd Subject: Re: Shared lib benchmarks, and experiences Message-ID: <1992Dec9.213442.18980@serval.net.wsu.edu> Date: 9 Dec 92 21:34:42 GMT Article-I.D.: serval.1992Dec9.213442.18980 References: <1992Dec3.071056.27426@ntuix.ntu.ac.sg> Sender: news@serval.net.wsu.edu (USENET News System) Organization: School of EECS, Washington State University Lines: 15 In article <1992Dec3.071056.27426@ntuix.ntu.ac.sg>, othman@ntrc25.ntrc.ntu.ac.sg (othman (EEE/Div 4)) writes: |> |> I've installed Joerg's shared lib with little problem. |> |> The improvement in code size is significant for small programs but can be |> worse for larger programs such as cc1. cc1 using shared lib is actually |> larger than static lib, but SysV manual warns of this problem. Very strange. I though shared libs always won. At least it is true under Linux. No matter how large/small the program is, the code size is always smaller if the program is linked with shared lib. [..] H.J.