[i386] Why g++ _always_ link an executable with libm.so?
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Jan 5 00:42:00 GMT 2005
Andrew Pinski <pinskia@physics.uc.edu> 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
More information about the Gcc
mailing list