SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] SCTP shared object library


Chronological Thread 
  • From: Marc Boucher <marc+sctp AT mbsi.ca>
  • To: Held Martin ICM N MC MI E 6 <Martin.Held AT icn.siemens.de>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] SCTP shared object library
  • Date: Fri Mar 23 15:41:02 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Be careful: objects for shared libraries should be compiled with
-fPIC !

IMHO a better approach would be to use GNU libtool (a script that allows
package developers to provide generic shared library support).

Marc

On Wed, Mar 21, 2001 at 10:45:01AM +0100, Held Martin ICM N MC MI E 6 wrote:
> Hi Andreas, Hi Michael,
>
> would you mind putting another target into the SCTP Makefile to create a
> shared object library as well?
> It could be something like:
>
> libsctp.so: $(libsctp_a_OBJECTS) $(libsctp_a_DEPENDENCIES)
> -rm -f libsctp.so
> $(CC) -shared -o libsctp.so $(libsctp_a_OBJECTS) $(CFLAGS)
>
>
> Regards,
> Martin
>
> ------------------------------------------------------------
> Martin Held Hofmannstr. 51, 81359 Muenchen, Germany
> Siemens AG phone +49 89 722 37386
> ICM N MC MI E6 fax +49 89 722 57506
> Mobile Internet
> mailto:Martin.Held AT icn.siemens.de
>
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion
>




Archive powered by MHonArc 2.6.19+.

Top of page