🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49993

gcc 2.4.5 how to create shared libraries?

#49993
From: Thomas Oettli
Date: Thu, 25 Nov 1993 03:09
20 lines
1278 bytes
With the SUN-C-Compiler under Solaris 2.3 I use the following
syntax to create a shared library archiv:

   idlmeteo.so: $(C_SRCS)
        cc -G -Kpic -c $(C_SRCS)
        ld -G -o idlmeteo.so $(C_OBJS)


Does someone know how is the syntax for the GNU - C Compiler 
( gcc 2.4.5 ) to get a shared library archive ?

Thanks a lot for any hint!


Thomas
-- 
|Thomas Oettli                  Internet: Thomas.Oettli@sma.ch     |
|Swiss Meteorological Institute           thomas.oettli@active.ch  |
|Kraehbuehlstr. 58              CServe: 100015.3543@compuserve.com |
|8044 Zuerich                                                      |
Technical Details
Message-ID: <gnusenet2cims4INN4um@maz4.sma.ch>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!sma.CH!oet

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b9be32c4c96d7346,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-24 21:35:25 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!sma.CH!oet
From: oet@sma.CH (Thomas Oettli)
Newsgroups: gnu.gcc.help
Subject: gcc 2.4.5 how to create shared libraries?
Date: 24 Nov 1993 22:09:01 -0500
Organization: Swiss Meteorological Institute
Lines: 21
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <gnusenet2cims4INN4um@maz4.sma.ch>
Reply-To: oet@sma.ch