bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SunStudio compilers


From: Ralf Wildenhues
Subject: Re: SunStudio compilers
Date: Mon, 14 May 2007 13:10:25 +0200
User-agent: Mutt/1.5.15 (2007-05-02)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]