Mail Archives: djgpp/2003/08/04/01:16:27
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 -