[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc 2.95 and Standard C
> Okay. I'm in a C class full of Borland C/C++ 4.5 for Windoze. Std C
> libaries
> contain pow() and sqrt() (power and square root) in <math.h>.
>
> So where the fsck are they in gcc?????
They're is a macro called sqrt in bits/mathcalls.h which is included from
math.h. Are you sure the problem isn't the absence of "-lm" to include the math
library in the linking phase?
Systems and Network Administrator
Morrison Industries
1825 Monroe Ave NW.
Grand Rapids, MI. 49505