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!cs.mu.OZ.AU!summer From: summer@ee.mu.OZ.AU (Mark Summerfield) Subject: FreeBSD1.1R Shared Libs q's Message-ID: <9417814.4311@mulga.cs.mu.OZ.AU> Sender: news@cs.mu.OZ.AU Organization: Dept of Electrical & Electronic Engineering, University of Melbourne Date: Mon, 27 Jun 1994 04:34:58 GMT Lines: 25 I have FreeBSD 1.1R installed (but not the source distribution - no room :-( ) and I'm wondering if there are any docs on using the shared lib system. I can't find any on line. Specifically, I want to know: 1 - How to build shared libs. ld -Bshareable ... seems to do the job, as the ld man page suggests it should, however in the SunOS system it is necessary to compile the object files as position independent code. Is this not necessary here? (And why not?) 2 - What's the problem with C++ libs? I assume there is a problem, since shared versions are not supplied. 3 - (May be related to 2, based on the contents of the symbol table...) What's the "libgcc_pic.a" library for? Thanks for any help, Mark. -------------------------------------------------------- Mark Summerfield, Photonics Research Laboratory Department of Electrical and Electronic Engineering, University of Melbourne ACSnet[AARN/Internet]: summer@ee.mu.oz[.au] --------------------------------------------------------