Re: Customizing soname

2008-03-29 Thread Roumen Petrov
Alon Bar-Lev wrote: On 3/28/08, Roumen Petrov [EMAIL PROTECTED] wrote: You request is to change library name. So I could not understand what is related to SONAME. It came as a surprise to me to allow user(verdor) to change library name at configure time. It for generating a differnet

Re: Customizing soname

2008-03-29 Thread Alon Bar-Lev
On 3/29/08, Roumen Petrov [EMAIL PROTECTED] wrote: So with automake makefile like this : lib_LTLIBRARIES = @[EMAIL PROTECTED] @[EMAIL PROTECTED] = module.c @[EMAIL PROTECTED] = -module -avoid-version where MODULE is substituted by configure you can get result. Thanks! It works. Although

Re: Customizing soname

2008-03-29 Thread Roumen Petrov
Alon Bar-Lev wrote: On 3/29/08, Roumen Petrov [EMAIL PROTECTED] wrote: So with automake makefile like this : lib_LTLIBRARIES = @[EMAIL PROTECTED] @[EMAIL PROTECTED] = module.c @[EMAIL PROTECTED] = -module -avoid-version where MODULE is substituted by configure you can get result. Thanks!

Re: Customizing soname

2008-03-28 Thread Alon Bar-Lev
On 3/28/08, Peter O'Gorman [EMAIL PROTECTED] wrote: -rpath is required for proper execution in many environments, the ability to change the soname is, as far as I can tell, not. Please present a more convincing argument. Hello Peter, I think that infrastructures such as libtool should

Re: Customizing soname

2008-03-28 Thread Bob Friesenhahn
On Fri, 28 Mar 2008, Alon Bar-Lev wrote: I think that infrastructures such as libtool should allow customization of any attribute that affect the output. Of course there should be defaults but it should allow overriding to allow customization. This especially true when the customization is

Re: Customizing soname

2008-03-28 Thread Roumen Petrov
Alon Bar-Lev wrote: On 3/28/08, Peter O'Gorman [EMAIL PROTECTED] wrote: -rpath is required for proper execution in many environments, the ability to change the soname is, as far as I can tell, not. Please present a more convincing argument. Hello Peter, I think that infrastructures such

Re: Customizing soname

2008-03-28 Thread Ralf Wildenhues
Hello Bob, Alon, * Bob Friesenhahn wrote: Your request is the first I can recall for supporting the ability to customize soname. There was an earlier, much more elaborate one, by Keith Packard, http://thread.gmane.org/gmane.comp.gnu.libtool.general/6213. And we never applied anything there

Re: Customizing soname

2008-03-28 Thread Alon Bar-Lev
On 3/28/08, Roumen Petrov [EMAIL PROTECTED] wrote: You request is to change library name. So I could not understand what is related to SONAME. It came as a surprise to me to allow user(verdor) to change library name at configure time. It for generating a differnet module using automake. At

Re: Customizing soname

2008-03-28 Thread Alon Bar-Lev
On 3/28/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: There was an earlier, much more elaborate one, by Keith Packard, http://thread.gmane.org/gmane.comp.gnu.libtool.general/6213. I believed I am not the first one... :) Did not find this specific thread though. But... For each report you

Re: Customizing soname

2008-03-27 Thread Peter O'Gorman
Alon Bar-Lev wrote: Hello, I had an issue that I solved in patching libtool, I am not sure this was the right thing to do, but if it was, I think it should go into libtool. I require to produce a shared library that whose name is customizable by the user. Why? I can understand wanting to

Re: Customizing soname

2008-03-27 Thread Alon Bar-Lev
On 3/27/08, Peter O'Gorman [EMAIL PROTECTED] wrote: Why? I can understand wanting to change the extension, we have -shrext for that. But why do you want the user to have the option to set the name? Hi! Because I generate a plugin, each configuration results in different plugin. I also have

Re: Customizing soname

2008-03-27 Thread Peter O'Gorman
Alon Bar-Lev wrote: On 3/27/08, Peter O'Gorman [EMAIL PROTECTED] wrote: Why? I can understand wanting to change the extension, we have -shrext for that. But why do you want the user to have the option to set the name? Hi! Because I generate a plugin, each configuration results in

Re: Customizing soname

2008-03-27 Thread Alon Bar-Lev
On 3/27/08, Peter O'Gorman [EMAIL PROTECTED] wrote: Does automake complain if you do something like: @PLUGIN_TARGET@: foo.lo $(LIBTOOL) --mode=link --tag=CC $(CCLD) -o @PLUGIN_TARGET@ \ foo.lo -avoid-version -module install-exec-hook: @PLUGIN_TARGET@ $(LIBTOOL)

Re: Customizing soname

2008-03-27 Thread Ralf Wildenhues
* Alon Bar-Lev wrote on Thu, Mar 27, 2008 at 06:35:48PM CET: On 3/27/08, Peter O'Gorman [EMAIL PROTECTED] wrote: Why? I can understand wanting to change the extension, we have -shrext for that. But why do you want the user to have the option to set the name? Because I generate a plugin,

Re: Customizing soname

2008-03-27 Thread Alon Bar-Lev
On 3/28/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: Is the set of possible names limited? If yes, please read http://www.gnu.org/software/automake/manual/html_node/Conditional-Libtool-Libraries.html Hi, No... Sorry... I need to produce a different name chosen by configure and/or user. But

Re: Customizing soname

2008-03-27 Thread Peter O'Gorman
Alon Bar-Lev wrote: On 3/28/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: Is the set of possible names limited? If yes, please read http://www.gnu.org/software/automake/manual/html_node/Conditional-Libtool-Libraries.html Hi, No... Sorry... I need to produce a different name chosen by