🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51607

How to make shared lib on SunOS 4.1 with gcc 2.3.3

#51607
From: Lim Fung Chai
Date: Sat, 08 May 1993 06:24
13 lines
1190 bytes
Hi,
	This might be a FAQ, but I have not been keeping up with this
newsgroup.

	I like to know how to make a shared library on SunOS 4.1.x with
gcc 2.3.3.  I know about the -fpic and -fPIC options of gcc.  What must be
done to the source code to prepare it for these options?  I believe one
needs to pull out all global and static variables into a separate file akin
to encapsulation in object-orientation.  Can anyone elaborate on this?

	Many thanks in advance.

fclim.
Technical Details
Message-ID: <9305080621.AA04107@i1sin.daq.semi.harris.com>
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!news.dfn.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!i1sin.daq.semi.harris.com!fclim

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a1278f36dbe1cb18,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-07 23:37:20 PST
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!news.dfn.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!i1sin.daq.semi.harris.com!fclim
From: fclim@i1sin.daq.semi.harris.com (Lim Fung Chai)
Newsgroups: gnu.gcc.help
Subject: How to make shared lib on SunOS 4.1 with gcc 2.3.3
Date: 8 May 1993 02:24:29 -0400
Organization: GNUs Not Usenet
Lines: 13
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9305080621.AA04107@i1sin.daq.semi.harris.com>