Date: Wed, 27 Mar 1996 17:31:23 +0200 (IST) From: Eli Zaretskii To: "Juan M. Lopez" Cc: djgpp AT delorie DOT com Subject: Re: 2 doubts In-Reply-To: <9603261712.AA06704@sun.soe.clarkson.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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?