Ralf Wildenhues wrote: > [ let's continue this discussion on libtool-patches, please ]
Hi Ralf, I applied the patch on HEAD and I obtained this [AFAICT correct] output:/bin/sh ../libtool --tag=CXX --mode=link icpc -g -O2 -L../source -lford -o test test.o libtool: link: icpc -g -O2 -o .libs/test test.o -L/tmp/ford/source /tmp/ford/source/.libs/libford.so /opt/compilers/gcc-4.1.2/lib/libstdc++.so -L/opt/compilers/gcc-4.1.2/lib -L/opt/compilers/gcc-4.1.2/lib/gcc/i486-slackware-linux/4.1.2 -Wl,-rpath,/tmp/install/lib -Wl,-rpath,/opt/compilers/gcc-4.1.2/lib
Also: $ ldd tests/.libs/test linux-gate.so.1 => (0xffffe000) libford-0.0.1.so => not foundlibstdc++.so.6 => /opt/compilers/gcc-4.1.2/lib/libstdc++.so.6 (0xb7e21000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7dfe000)libgcc_s.so.1 => /opt/compilers/gcc-4.1.2/lib/libgcc_s.so.1 (0xb7df3000) libcxaguard.so.5 => /opt/compilers/intel-9.1.042/lib/libcxaguard.so.5 (0xb7df1000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7cd4000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7cd0000) /lib/ld-linux.so.2 (0xb7f16000) (there are no conflicts)I am attaching the output of linking the project's library, the project's test program and the output of --config with CXX tag.
Thanks, Liviu
libtool.config.gz
Description: application/gzip
libtool.link.library.gz
Description: application/gzip
libtool.link.prog.gz
Description: application/gzip