www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/23/10:15:44

Date: Wed, 23 Aug 1995 16:39:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Frank Dawidowsky <kcuda01 AT commlink DOT zdv DOT uni-tuebingen DOT de>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: gcvt problem

On 22 Aug 1995, Frank Dawidowsky wrote:

> I've written a little c-program and tried to port it to djgpp.
> My problem is, that the linker reports the error 
> 
> filename.cc (text+0x29d): undefined reference to 'gcvt'
> 

I don't think the library has gcvt().  Use sprintf() instead, it's much 
more portable.

You can see what functions are in the library by using the ``nm'' program 
which comes with DJGPP.  It is explained in the DJGPP FAQ list (available 
as faq102.zip from the same place you get DJGPP), section 8.9.

- Raw text -


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