Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-26 Thread Ralf Wildenhues
[ let's continue this discussion on libtool-patches, please ] Hello Liviu, Vishal, Could you please try this patch (written for both CVS HEAD and branch-1-5), and post the --debug link output with the changed libtool script? Thank you. The patch is certainly not ready for prime time yet, as it

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Ralf Wildenhues
* Liviu Nicoara wrote on Tue, Apr 24, 2007 at 11:00:26PM CEST: > Ralf Wildenhues wrote: > > ./libtool --tag=CXX --config > Sorry for that, here's the right one. Thanks. First, the $predep_objects are all wrong, and some of the $postdep_objects actually belong in $predep_objects. I assume that

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Liviu Nicoara
Ralf Wildenhues wrote: Ralf Wildenhues wrote: ./libtool --tag=CXX --config Hi Ralf, I believe I may have made a mistake with the previous attachments. It is possible the previous ones were generated with a tainted libtool script. I apologize and I am attaching the correct ones here: 1. l

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Liviu Nicoara
Ralf Wildenhues wrote: Misunderstanding here. I would like to see the output of ./libtool --tag=CXX --config rather than the output of ./libtool --config which I think you posted. Sorry for that, here's the right one. Thanks, Liviu libtool.config.gz Description: application/gzip _

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Ralf Wildenhues
* Liviu Nicoara wrote on Tue, Apr 24, 2007 at 03:58:19PM CEST: > Ralf Wildenhues wrote: >> * Liviu Nicoara wrote on Mon, Apr 23, 2007 at 04:54:55PM CEST: >>> I have attached it as a gzipped archive. >> Was that with --tag=CXX? > > Yes it was: > > $ /bin/sh ../libtool --debug --tag=CXX --mode=link i

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Liviu Nicoara
Hi Ralf, Ralf Wildenhues wrote: Hello Liviu, * Liviu Nicoara wrote on Mon, Apr 23, 2007 at 04:54:55PM CEST: I have attached it as a gzipped archive. Was that with --tag=CXX? Yes it was: $ /bin/sh ../libtool --debug --tag=CXX --mode=link icpc -g -O2 -o libford.la -rpath /tmp/install/li

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-23 Thread Ralf Wildenhues
Hello Liviu, * Liviu Nicoara wrote on Mon, Apr 23, 2007 at 04:54:55PM CEST: > Ralf Wildenhues wrote: > > > >Please also post output of > > ./libtool --tag=CXX --config > > I have attached it as a gzipped archive. Was that with --tag=CXX? > >It looks to me we're treating $postdeps in the wrong

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-23 Thread Liviu Nicoara
Ralf Wildenhues wrote: AFAIK it's not the same issue. From a glance, it's also distinct from which you pointed to in your other mail. How do I go about linking with the custom built GCC libstdc++ on the system which has a defau

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-22 Thread Ralf Wildenhues
Hello Liviu, Thanks for the report. * Liviu Nicoara wrote on Fri, Apr 20, 2007 at 04:50:46PM CEST: > > I am trying to link a library and test program in an autotools-based > project using Intel C++ 9.1.042 and GCC 4.1.2. > > One of my machines has a default installation of GCC (3.3.6). I built an

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-21 Thread Liviu Nicoara
Liviu Nicoara wrote: Hi all, I am trying to link a library and test program in an autotools-based project using Intel C++ 9.1.042 and GCC 4.1.2. One of my machines has a default installation of GCC (3.3.6). I built and installed gcc-4.1.2 and icc-9.1.042 in /opt/compilers. My goal is to link

libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-20 Thread Liviu Nicoara
Hi all, I am trying to link a library and test program in an autotools-based project using Intel C++ 9.1.042 and GCC 4.1.2. One of my machines has a default installation of GCC (3.3.6). I built and installed gcc-4.1.2 and icc-9.1.042 in /opt/compilers. My goal is to link the project's library