comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Creating shared libs with gcc ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Creating shared libs with gcc ? [message #1412] Fri, 19 November 1993 07:12
oet is currently offline  oet
Messages: 28
Registered: February 1993
Junior Member
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

BTW: gcc-2.4.5-binaries for Solaris 2.2/2.3 are available on isy.liu.se:/pub/gnu/sparc-sun-solaris2 and other gnu sites.

--
|Thomas Oettli Internet: Thomas.Oettli@sma.ch |
|Swiss Meteorological Institute thomas.oettli@active.ch |
|Kraehbuehlstr. 58 CServe: 100015.3543@compuserve.com |
|8044 Zuerich |
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Color Indices from Color_Palette
Next Topic: Re: Getting generic routine to call function.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:01:07 PDT 2025

Total time taken to generate the page: 0.00553 seconds