Re: [i386] Why g++ _always_ link an executable with libm.so?

Andrew Pinski <[email protected]>
Newsgroups gmane.linux.gcc,gmane.comp.gcc.devel
Message-ID <[email protected]>
On Jan 5, 2005, at 5:30 PM, Denis Zaitsev wrote:

> On Wed, Jan 05, 2005 at 05:16:20PM -0500, Andrew Pinski wrote:
>>
>> On Jan 5, 2005, at 5:09 PM, Denis Zaitsev wrote:
>>
>>> Ok.  But the question in general is not about that.  It is not a
>>> problem that libm is NEEDED by libstdc++, but why this NEEDED leads 
>>> to
>>> the same NEEDED for the app?  Isn't the first depndency enough?
>>
>> No, because some of libstdc++ code is in the headers, on some targets
>> have two level namespaces which causes this to be rejected.
>
> Sorry, what to be rejected?

Aka you get link errors.

-- Pinski

-
To unsubscribe from this list: send the line "unsubscribe linux-gcc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.