From: Quasar 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> NNTP-Posting-Host: 66.238.152.107 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 >> 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