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

Gabriel Dos Reis <[email protected]>
Newsgroups gmane.comp.gcc.devel,gmane.linux.gcc
Organization Integrable Solutions
Message-ID <[email protected]>
Denis Zaitsev <[email protected]> writes:

| On Wed, Jan 05, 2005 at 01:21:23PM -0500, Andrew Pinski wrote:
| > 
| > On Jan 5, 2005, at 12:14 PM, Mike Hearn wrote:
| > 
| > > I also find it strange (broken) that a c++ app that doesn't use any 
| > > libm
| > > symbols is linked to it anyway. Why does it matter?
| > 
| > because libstdc++ might pull in libm symbols without the person knowing
| > he did.
| 
| 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?

At this point I completely lose track of what your problem is and what
you're complaining about.

-- Gaby
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.