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

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

| Also note on some targets like darwin, libm is included in libsystem
| (aka
| libc) by default.

Indeed.  I've always found it an extraordinary definition of libc that
leaves out the mathematical functions, as if cos() or sin() or atan()
were not part of the C standard library.

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