www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/27/10:43:42

Date: Wed, 27 Mar 1996 17:31:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Juan M. Lopez" <jmlopez AT dcom DOT upv DOT es>
Cc: djgpp AT delorie DOT com
Subject: Re: 2 doubts
In-Reply-To: <9603261712.AA06704@sun.soe.clarkson.edu>
Message-Id: <Pine.SUN.3.91.960327172711.4844K-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019