delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/04/01:16:27

From: Quasar <haleyjd AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Alternative to fcvt for older DJGPP?
Date: 04 Aug 2003 05:07:36 GMT
Organization: Concentric Internet Services
Lines: 31
Message-ID: <1sb2cgsjrn9c1.1qat04crl2pqh$.dlg@40tude.net>
References: <76uzeozd7s3g.1sgoajp58hmqa$.dlg AT 40tude DOT net> <u4r0y6k6x DOT fsf AT elta DOT co DOT il>
NNTP-Posting-Host: 66.238.152.107
Mime-Version: 1.0
User-Agent: 40tude_Dialog/2.0.3.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 04 Aug 2003 07:55:18 +0200, Eli Zaretskii wrote:

>> From: Quasar <haleyjd AT hotmail DOT com>
>> Newsgroups: comp.os.msdos.djgpp
>> Date: 04 Aug 2003 04:13:11 GMT
>> 
>> I have a program that needs to compile with an older version of
>> DJGPP which does not appear to have fcvt in its libc. Are there
>> any quick alternatives to this function?
> 
> I'd simply grab djlsr203.zip, snip the source of fcvt from there, and
> use that to compile your program.  See, it's easy with free software ;-)
> 
> Btw, what old version of DJGPP do you need to compile that program,
> and why won't a newer version do?

I thought about doing that, but the fcvt function is very complicated
and makes use of locale facilities and some other, apparently internal,
libc functions. I'd end up copying over several hundred KB of code before
it was done, more than likely.

The program is a DOOM port with over 120,000 lines of code, and requires
an older version of the Allegro library. I've never attempted to port it
up to a newer DJGPP version than the one it was written for. Of course
it would be a good idea, but would take a LOT of work. Also, I'm on a
very slow internet connection. The last time I dl'd DJGPP, it took the
better part of a day :(  So, while this is a good idea and probably the
only one that's going to work, I wanted to make sure there wasn't
something easier I could do first ^_^

James Haley

- Raw text -


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