libtool
[Top][All Lists]
Advanced

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

Re: Issue with added '-threads' added while using Intel 2024.0.0 C compi


From: Nick Bowler
Subject: Re: Issue with added '-threads' added while using Intel 2024.0.0 C compiler icx
Date: Sun, 25 Aug 2024 12:47:26 -0400
User-agent: Mozilla Thunderbird

On 2024-08-23 13:35, Witold Interewicz wrote:
> I have 2 Qs here:
> - What is (in short/sketch) the set of conditions that causes libtool
> to add this switch '-threads' (or where may I read about it)?

It could be coming from another library you are using.  For example,
some libtool library (.la file) might contain a line like
 
  inherited_linker_flags='-threads'

which will cause libtool to add the flag when you use that library
with libtool.

Perhaps some library was built using a different compiler which uses
different options and these got embedded into the installed library.

> - Should I look for solution of this problem here in libtool GNUs'
> world or in the Intel's world?

It's probably just a matter of identifying the problematic library and
then correcting it on your system.

> PS. Please let me know if it is ill posed problem at all or if you
> don't discuss issues involving non-GNU compilers at all.

Libtool should work with non-GNU compilers.

Hope that helps,
  Nick



reply via email to

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