*BSD News Article 94848


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.direct.ca!nntp.portal.ca!news.bc.net!unixg.ubc.ca!nntp.cs.ubc.ca!cs.ubc.ca!q8e192
From: q8e192@ugrad.cs.ubc.ca (Henry Avatar Chan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help: Shared Libs
Date: 29 Apr 1997 22:16:35 GMT
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Lines: 12
Message-ID: <5k5s03$f38$1@nnrp.cs.ubc.ca>
NNTP-Posting-Host: anvil.ugrad.cs.ubc.ca
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40071


Hi,

Suppose I have a whole bunch of .o (object) files.
How do I make a .so (shared dynamic lib) out of them?
Do these .o files have to be compiled with -fPIC?
Any full examples of creating shared libs are appreciated.


thx,
Henry
q8e192@ugrad.cs.ubc.ca