Re: Problem with '-L' switch.

2006-08-21 Thread Vaclav Havlik
Hello Ralf. Thanks for the advice with libtool.m4. I have done a hack to it, which I am attaching. It is probably inconsistent with the rest of the file, but for now it works. There are several more places with sys_lib_search_path_spec, I did not touch them. It strips the trailing slashes off t

Re: Problem with '-L' switch.

2006-08-21 Thread Ralf Wildenhues
Hello Vaclav, * Vaclav Havlik wrote on Mon, Aug 21, 2006 at 12:23:21PM CEST: > I works! I mean > 1. correcting '/usr/lib/' --> '/usr/lib' in sys_lib_search_path_spec > and > 2. the patch. (I copied it by hand, I probably made a mistake when > trying to use patch utility). Good. At least now w

Re: Problem with '-L' switch.

2006-08-21 Thread Vaclav Havlik
Hello Ralf. I works! I mean 1. correcting '/usr/lib/' --> '/usr/lib' in sys_lib_search_path_spec and 2. the patch. (I copied it by hand, I probably made a mistake when trying to use patch utility). I made these corrections in the local 'libtool' script. So thank you very much. I just have anot

Re: Problem with '-L' switch.

2006-08-19 Thread Ralf Wildenhues
Hello Vaclav, * Vaclav Havlik wrote on Thu, Aug 17, 2006 at 01:55:40PM CEST: > I am sending the files like before and also the script itself. Thanks. Please note that the package in question is using an old Libtool version (1.5.6); current in 1.5.22. But the issue you encounter is not fixed in

Re: Problem with '-L' switch.

2006-08-17 Thread Ralf Wildenhues
Hello Vaclav, * Vaclav Havlik wrote on Thu, Aug 17, 2006 at 11:53:41AM CEST: > > I removed the trailing slashes from all occurences of > sys_lib_search_path_spec, but it didn't help. So please send output of the link line with --debug after you did this change (but only this change). That helps

Re: Problem with '-L' switch.

2006-08-17 Thread Vaclav Havlik
Hello Ralf. I removed the trailing slashes from all occurences of sys_lib_search_path_spec, but it didn't help. Then I removed whole '/usr/lib' from all occurences of sys_lib_search_path_spec and it didn't help either. I have a vague idea that the problem might be that there is a variable conta

Re: Problem with '-L' switch.

2006-08-16 Thread Ralf Wildenhues
Hello Vaclav, Please keep the mailing list in Cc:. Thanks. * Vaclav Havlik wrote on Wed, Aug 16, 2006 at 04:28:06PM CEST: > > > /bin/sh ~/work/PAS/libtool --debug --tag=CXX --mode=link g++ -Wall -g > -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pedantic -Wno-long-long -L../../lib > -L/opt/pas/lib -L/

Re: Problem with '-L' switch.

2006-08-16 Thread Ralf Wildenhues
Hello Vaclav, * Vaclav Havlik wrote on Wed, Aug 16, 2006 at 03:42:17PM CEST: > I build a library with libtool, say libbig.la, from C++ sources, on > IA32. This libbig.la wants to link to libsmall.la as '-lsmall' . But, > during creating libbig.la, g++ has '-L/usr/lib' before my (user's) > paths, w

Problem with '-L' switch.

2006-08-16 Thread Vaclav Havlik
Hello. Can you advise me on this, please? I build a library with libtool, say libbig.la, from C++ sources, on IA32. This libbig.la wants to link to libsmall.la as '-lsmall' . But, during creating libbig.la, g++ has '-L/usr/lib' before my (user's) paths, which is undesitable in my situation. This