Re: Building .so files only.

2003-08-31 Thread Albert Chin
On Fri, Aug 29, 2003 at 12:55:19AM -0400, Daniel Reed wrote: To produce only .la and .so files, you can pass -module -avoid-version to libtool. In Automake, you can do this by using something similar to: pkglib_LTLIBRARIES = mymod.la mymod_la_SOURCES = mymod.c mymod_la_LDFLAGS = -module

Re: Building .so files only.

2003-08-31 Thread Stephen Torri
On Fri, 2003-08-29 at 06:55, Benjamin Reed wrote: On Aug 29, 2003, at 12:55 AM, Daniel Reed wrote: To produce only .la and .so files, you can pass -module -avoid-version to libtool. In Automake, you can do this by using something similar to: pkglib_LTLIBRARIES = mymod.la

Re: Building .so files only.

2003-08-29 Thread Tom Howard
Hi, On Thursday 28 August 2003 16:08, Schleicher Ralph (LLI) wrote: So by patching my libtool I should be able to put the -shared flag in my AM_LDFLAGS for the Makefile.am and only get the shared.so file right? Yes, but it makes sense adding it to CFLAGS, too. Sorry if I'm being dense, but

Re: Building .so files only.

2003-08-29 Thread Daniel Reed
On 2003-08-29T14:14+1000, Tom Howard wrote: ) On Thursday 28 August 2003 16:08, Schleicher Ralph (LLI) wrote: ) So by patching my libtool I should be able to put the -shared flag in my ) AM_LDFLAGS for the Makefile.am and only get the shared.so file right? ) Yes, but it makes sense adding it

Re: Building .so files only.

2003-08-29 Thread Tom Howard
Hi Ralph, On Friday 29 August 2003 16:53, Schleicher Ralph (LLI) wrote: In libtool jargon, .so file is a synonym for a shared library. This includes all companion files, but their names and number depend on libtool's configuration and build options. E.g., HP-UX uses .sl instead of .so for

RE: Building .so files only.

2003-08-29 Thread Schleicher Ralph (LLI)
Tom Howard writes: That's my point. My understanding of Stephen problem is that he doesn't want to build/install the companion files. [...] So in his situation, patching libtool and using -shared isn't really going to solve his problem. Correct? As already pointed out by Daniel Reed,

Re: Building .so files only.

2003-08-28 Thread Stephen Torri
On Wed, 2003-08-27 at 01:50, Schleicher Ralph (LLI) wrote: See http://mail.gnu.org/archive/html/libtool/2003-08/msg2.html, for more details. So by patching my libtool I should be able to put the -shared flag in my AM_LDFLAGS for the Makefile.am and only get the shared.so file right? I see

RE: Building .so files only.

2003-08-28 Thread Schleicher Ralph (LLI)
Stephen Torri writes: So by patching my libtool I should be able to put the -shared flag in my AM_LDFLAGS for the Makefile.am and only get the shared.so file right? Yes, but it makes sense adding it to CFLAGS, too. ! If the @samp{-static} option is given, then only a @samp{.o} file is !

Re: Building .so files only.

2003-08-27 Thread Schleicher Ralph (LLI)
See http://mail.gnu.org/archive/html/libtool/2003-08/msg2.html, for more details. -- Ralph ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool