Re: using .la or .a when linking an executable ?

2008-09-29 Thread Ralf Wildenhues
Hello Vincent, * Vincent Torri wrote on Sun, Sep 28, 2008 at 01:04:44PM CEST: eet_LDADD = $(top_builddir)/src/lib/libeet.la Hence when I call objdump -p on my eet binary, i get: NEEDED libeet.so.1 NEEDED libz.so.1 NEEDED libjpeg.so.62 But a friend told me that the

Re: using .la or .a when linking an executable ?

2008-09-29 Thread Vincent Torri
Hey, Sorry, Ralf, i've just deleted your answer. It was embedded in a lot of spams... I paste it below. Hello Vincent, * Vincent Torri wrote on Sun, Sep 28, 2008 at 01:04:44PM CEST: eet_LDADD = $(top_builddir)/src/lib/libeet.la Hence when I call objdump -p on my eet binary, i get:

Re: using .la or .a when linking an executable ?

2008-09-29 Thread Ralf Wildenhues
* Vincent Torri wrote on Mon, Sep 29, 2008 at 09:47:02PM CEST: * Ralf Wildenhues wrote: * Vincent Torri wrote on Sun, Sep 28, 2008 at 01:04:44PM CEST: 2) If he is right, what should I do to remove those dependencies ? (flag to pass in a variable in my Makefile.am, or something like that)

Re: using .la or .a when linking an executable ?

2008-09-29 Thread Vincent Torri
On Mon, 29 Sep 2008, Ralf Wildenhues wrote: * Vincent Torri wrote on Mon, Sep 29, 2008 at 09:47:02PM CEST: * Ralf Wildenhues wrote: * Vincent Torri wrote on Sun, Sep 28, 2008 at 01:04:44PM CEST: 2) If he is right, what should I do to remove those dependencies ? (flag to pass in a variable

Re: using .la or .a when linking an executable ?

2008-09-29 Thread Brian Dessent
Vincent Torri wrote: No. I wouldn't even know that indirect deps work on w32, or whether they help there. Ok, i'll wait for a mingw dev to answer. It's irrelevant. The option is accepted but silently ignored, because PE doesn't have anything analogous to the ELF DT_NEEDED tag. If you