Web lists-archives.com

[Mingw-users] Location of sqrt for g++ compilation

When compiling with MINGW g++

where is the code for sqrt?  Is in libstdc++.a?

Years ago when you wanted to compile a program that used sqrt,

you had to type:

g++ prog.cpp -lm

to link against libm.a

Thanks for any reply.

    Jeff Gitlin

Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe