Hello Dmitri, Thanks for the report.
* Dmitri Chubarov wrote on Sat, May 12, 2007 at 12:06:23PM CEST: > When defining AC_LIBTOOL_PROG_COMPILER_PIC, the values libtool assigns > for SunStudio 11 and 12 compilers on Linux are not correct. The values > should be > lt_prog_compiler_wl='-Wl,' > lt_prog_compiler_pic='-Kpic' > lt_prog_compiler_static='-Bstatic' > > I attach a patch that should fix this problem. Applies to libtool 1.5.22. This doesn't match my experience with Sun C/C++ 5.9 (I think it was that version). Libtool CVS HEAD has support for this on GNU/Linux, it uses -KPIC as PIC flag, and `-Qoption ld ' for C++, `-Wl,' for C, and an empty wl flag for Fortran; also it avoids matching for the compiler name, as IIRC the suite uses multiple aliases. It would be helpful if you could download and build a nightly snapshot of CVS HEAD (see URL on the Libtool homepage) with your Sun compiler suite, and send verbose testsuite output for both the old and the new testsuite, as explained in README, for failures you encounter. Thanks, Ralf _______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool