Mail Archives: djgpp/1996/03/27/10:43:42
On Tue, 26 Mar 1996, Juan M. Lopez wrote:
> gcc myfile.cpp -lgpp -lm
>
> but when it is linking some "undefined reference" messages
> appear for some mathematical functions like: j0, j1, jn,
> isnan, log10,...
>
> I have seen these functions in math.h but I do not know
> if they are implemented in the library libm.a
>
> What can I do?
Use the `nm' program to print the contents of libm.a. Every function
which has a capital T next to its name, is defined by the library. If
you use DJGPP v2.0, then these functions *are* in the library; in v1.x I
think they aren't.
> 2. If I type INFO it doesnt work, appearing:
>
> info.exe dir: error...
Details, please. What was the exact error message?
- Raw text -