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

Gabriel Dos Reis <[email protected]> 05 Jan 2005 01:40:39 +0100
Newsgroups org.kernel.vger.linux-gcc
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