libtool 1.5.2* problem
Hey, I know that libtool 1.5.2* is a very old version, not maintained anymore, but i would like to know if the problem that I have is related to that version or not. I cross compile to have a Windows dll (in case it matters) I link a lib named 'toto' against libfoo.la. In libfoo.la, in the dependency_libs variable, I have libbar.la. but the link command that creates libtoto.dll does not mention libbar.a file, nor all the dependencies that are in dependency_libs of libfoo.la Is it a known behavior with that version of libtool ? Note that there is no problem with libtool 2.2.* thank you Vincent Torri ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: libtool 1.5.2* problem
On Thu, 16 Apr 2009, Vincent Torri wrote: I know that libtool 1.5.2* is a very old version, not maintained anymore, but i would like to know if the problem that I have is related to that version or not. I cross compile to have a Windows dll (in case it matters) I link a lib named 'toto' against libfoo.la. In libfoo.la, in the dependency_libs variable, I have libbar.la. but the link command that creates libtoto.dll does not mention libbar.a file, nor all the dependencies that are in dependency_libs of libfoo.la Other than libtool convenience libraries (which are not used like a normal library) it is not supported to link static libraries when creating a DLL. Any static libraries need to be applied when linking programs which depend on the DLL. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: libtool 1.5.2* problem
Hello Vincent, * Vincent Torri wrote on Thu, Apr 16, 2009 at 01:04:00PM CEST: I know that libtool 1.5.2* is a very old version, not maintained anymore, but i would like to know if the problem that I have is related to that version or not. I cross compile to have a Windows dll (in case it matters) I link a lib named 'toto' against libfoo.la. In libfoo.la, in the dependency_libs variable, I have libbar.la. but the link command that creates libtoto.dll does not mention libbar.a file, nor all the dependencies that are in dependency_libs of libfoo.la Is it a known behavior with that version of libtool ? Note that there is no problem with libtool 2.2.* Most likely your 1.5.2* is from Debian which, on GNU/Linux, enables link_all_deplibs=no which the FSF version doesn't do. Hmm, maybe some old FSF version did, but then backed that out again, I don't remember. You can find out with ./libtool --config | grep ^link_all_deplibs= Or I completely misunderstood the question and Bob didn't. :-) Cheers, Ralf ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: libtool 1.5.2* problem
On Thu, 16 Apr 2009, Ralf Wildenhues wrote: Hello Vincent, * Vincent Torri wrote on Thu, Apr 16, 2009 at 01:04:00PM CEST: I know that libtool 1.5.2* is a very old version, not maintained anymore, but i would like to know if the problem that I have is related to that version or not. I cross compile to have a Windows dll (in case it matters) I link a lib named 'toto' against libfoo.la. In libfoo.la, in the dependency_libs variable, I have libbar.la. but the link command that creates libtoto.dll does not mention libbar.a file, nor all the dependencies that are in dependency_libs of libfoo.la Is it a known behavior with that version of libtool ? Note that there is no problem with libtool 2.2.* Most likely your 1.5.2* is from Debian which, on GNU/Linux, enables link_all_deplibs=no which the FSF version doesn't do. Hmm, maybe some old FSF version did, but then backed that out again, I don't remember. it's indeed a debian. You can find out with ./libtool --config | grep ^link_all_deplibs= i get: link_all_deplibs=unknown Vincent ___ http://lists.gnu.org/mailman/listinfo/libtool