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

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

RE: Building .so files only.

2003-08-29 Thread Schleicher Ralph (LLI)
Tom Howard writes: > Sorry if I'm being dense, but (after reading the referenced messages) I don't > understand why using the -shared flag will only produce the a .so file. > Won't it still produce a .so.X, .so.X.X.X and .la files as well? In libtool jargon, ".so file" is a synonym for a shared l

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 f

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 = -mo

Re: Building .so files only.

2003-08-29 Thread Benjamin Reed
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 mymod_la_SOURCES = mymod.c mymod_la_LDFLAGS = -module -avoid-version This

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, -a

Re: Building .so files only.

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

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-28 Thread Stephen Torri
On Wed, 2003-08-27 at 01:50, Schleicher Ralph (LLI) wrote: > See , > 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 se

Re: Building .so files only.

2003-08-28 Thread Scott James Remnant
On Thu, 2003-08-28 at 00:49, Stephen Torri wrote: > On Wed, 2003-08-27 at 01:50, Schleicher Ralph (LLI) wrote: > > > ! If the @samp{-static} option is given, then only a @samp{.o} file is > ! built, even if libtool was configured with @samp{--disable-static}. > > This sounds logically confusing.

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 > !