automake
[Top][All Lists]
Advanced

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

Re: pthread + SUN Compiler


From: Bob Friesenhahn
Subject: Re: pthread + SUN Compiler
Date: Wed, 17 Feb 2010 09:22:56 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Wed, 17 Feb 2010, address@hidden wrote:

But I'm a but wondering, why libtool can't be forced to omit certain flags in
the *la files.

Libtool assumes that everything is built with the same compiler. In the case of threads (and particularly on Solaris) it is important for the option to be preserved, or dependent programs/libraries might not work. This is because Solaris provides some stub pthread functions via weak symbols which do nothing (and return an error code) so that thread-safe libraries may be used by single-threaded programs.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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