Re: Disable --whole-archive when using convenience archives

2010-03-26 Thread Ralf Wildenhues
[ http://thread.gmane.org/gmane.comp.gnu.libtool.general/10586 ] Hello Alon, * Alon Bar-Lev wrote on Mon, Mar 22, 2010 at 08:00:19PM CET: > It is find if you don't want to solve this, but please acknowledge > that you don't. > So far I did not get any response regarding this issue. I'm really s

Re: Disable --whole-archive when using convenience archives

2010-03-22 Thread Alon Bar-Lev
Hello Ralf, It is find if you don't want to solve this, but please acknowledge that you don't. So far I did not get any response regarding this issue. When using: AM_CFLAGS = $(PCAP_CFLAGS) -prefer-pic AM_LDFLAGS = -rpath $(libdir) -static In order to make whole-archive go away, it works in *NIX

Re: Disable --whole-archive when using convenience archives

2010-01-25 Thread Alon Bar-Lev
On Sat, Jan 9, 2010 at 10:38 AM, Alon Bar-Lev wrote: > On Thu, Jan 7, 2010 at 10:10 PM, Ralf Wildenhues > wrote: >> * Alon Bar-Lev wrote on Thu, Jan 07, 2010 at 09:07:46AM CET: >>> > For some strange reason this workaround does not work in Windows when >>> > creating a DLL. >>> > >>> > I get: >>

Re: Disable --whole-archive when using convenience archives

2010-01-09 Thread Alon Bar-Lev
On Thu, Jan 7, 2010 at 10:10 PM, Ralf Wildenhues wrote: > * Alon Bar-Lev wrote on Thu, Jan 07, 2010 at 09:07:46AM CET: >> > For some strange reason this workaround does not work in Windows when >> > creating a DLL. >> > >> > I get: >> > --- >> > /bin/sh ../../../../libtool --tag=CC   --mode=link >

Re: Disable --whole-archive when using convenience archives

2010-01-07 Thread Ralf Wildenhues
* Alon Bar-Lev wrote on Thu, Jan 07, 2010 at 09:07:46AM CET: > > For some strange reason this workaround does not work in Windows when > > creating a DLL. > > > > I get: > > --- > > /bin/sh ../../../../libtool --tag=CC   --mode=link > > x86_64-w64-mingw32-gcc  -g -O2 -pedantic -Wall -Wextra  -modul

Re: Disable --whole-archive when using convenience archives

2010-01-07 Thread Alon Bar-Lev
On Mon, Dec 21, 2009 at 6:21 PM, Alon Bar-Lev wrote: > On Thu, Dec 3, 2009 at 10:39 PM, Ralf Wildenhues > wrote: >> * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 09:28:59PM CET: >> > On Thu, Dec 3, 2009 at 10:17 PM, Ralf Wildenhues wrote: >> > > * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 07:08:

Re: Disable --whole-archive when using convenience archives

2009-12-21 Thread Alon Bar-Lev
On Thu, Dec 3, 2009 at 10:39 PM, Ralf Wildenhues wrote: > * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 09:28:59PM CET: > > On Thu, Dec 3, 2009 at 10:17 PM, Ralf Wildenhues wrote: > > > * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 07:08:03PM CET: > > > > I have some convenience archives linked agai

Re: Disable --whole-archive when using convenience archives

2009-12-03 Thread Alon Bar-Lev
Hello, On Thu, Dec 3, 2009 at 10:39 PM, Ralf Wildenhues wrote: > * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 09:28:59PM CET: >> I had to add -prefer-pic to CFLAGS in order it to work properly... :) >> >> Wow... this is an ugly workaround... Any reason why a simple switch to >> "libtool --mode=li

Re: Disable --whole-archive when using convenience archives

2009-12-03 Thread Ralf Wildenhues
Hello Alon, please don't top-post, thanks. * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 09:28:59PM CET: > On Thu, Dec 3, 2009 at 10:17 PM, Ralf Wildenhues wrote: > > * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 07:08:03PM CET: > > > I have some convenience archives linked against several modules.

Re: Disable --whole-archive when using convenience archives

2009-12-03 Thread Alon Bar-Lev
Thank you for quick response (as usual... :) ) I had to add -prefer-pic to CFLAGS in order it to work properly... :) Wow... this is an ugly workaround... Any reason why a simple switch to "libtool --mode=link" is not supported? Is it the first time someone needs this? Thanks, Alon. --- AUTOMAK

Re: Disable --whole-archive when using convenience archives

2009-12-03 Thread Ralf Wildenhues
Hello Alon, * Alon Bar-Lev wrote on Thu, Dec 03, 2009 at 07:08:03PM CET: > I have some convenience archives linked against several modules. > > I wish only required objects to be included in modules. Then make the convenience archives not be convenience archives any longer, i.e., make them libto

Disable --whole-archive when using convenience archives

2009-12-03 Thread Alon Bar-Lev
Hello, Using: autoconf-2.63 automake-1.10.2 libtool-2.2.6a I have some convenience archives linked against several modules. I wish only required objects to be included in modules. But libtool's usage of --whole-archive forces the whole archive to be included in the module. I could not find any