libtool-patches
[Top][All Lists]
Advanced

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

Re: -pthread etc. fix


From: Bob Friesenhahn
Subject: Re: -pthread etc. fix
Date: Sat, 27 Sep 2003 12:21:35 -0500 (CDT)

On Sat, 27 Sep 2003, Bob Friesenhahn wrote:
>
> There is still one potential significant issue due to multi-lingual
> environments.  There may be situtations where the C compiler accepts
> these options, but the C++ compiler does not.  This can happen if the
> C compiler and C++ compiler come from different vendors but are
> otherwise compatible.  In this situation, C++ programs may refuse to
> link.

I think the implication of this issue is that it may be necessary to
support language tag-specific options in the .la files.
Unfortunately, these tag-specific options may not be complete if the
package which installs the library only includes configuration for one
language (e.g. C).

The alternative is to not change anything and continue to expect
packages to maintain the remaining linkage information seperately
(e.g. in a -config script) so the failure to link properly can be
blamed on the package rather than libtool.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

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