🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50064

gcc 2.4.5 how to create shared libs on Solaris2.3?

#50064
From: Thomas Oettli
Date: Fri, 19 Nov 1993 14:59
20 lines
1243 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: <2cin1dINN4um@maz4.sma.ch>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.dfn.de!scsing.switch.ch!news.sma.ch!i01!oet

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ce17c8331c0cdb77,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-19 14:50:18 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.dfn.de!scsing.switch.ch!news.sma.ch!i01!oet
From: oet@sma.ch (Thomas Oettli)
Newsgroups: gnu.gcc.help
Subject: gcc 2.4.5 how to create shared libs on Solaris2.3?
Date: 19 Nov 1993 14:59:57 GMT
Organization: Swiss Meteorological Institute
Lines: 22
Distribution: world
Message-ID: <2cin1dINN4um@maz4.sma.ch>
Reply-To: oet@sma.ch
NNTP-Posting-Host: i01.sma.ch