Mail Archives: djgpp/1998/02/12/19:21:18
Till Harbaum wrote:
>
> While compiling a compiler test program (config.c by
> Steven Pemberton) we detected a very strange problem
> with djgpp. Under all other os's we tested
> (linux-gcc, dos-quickc, tos-gcc and tos-turboc) this
> program just worked fine. Except with djgpp 2.01.
> The djgpp compiled binary just didn't do any output.
> If you flush output before the malloc thing everything
> is fine. If you don't flush output all text stored
> in the output buffers is lost.
>
> Am i doing something wrong? Is this a compiler error?
Your test program produced the desired output on my system when run from
a Windows 95 DOS shell, with ERROR=1 and ERROR=0. It compiled without
warnings or errors. Do you have the latest DJGPP libc? Tom Demmer
maintains a patched libc.a on his ftp site:
ftp://ftp.lstm.ruhr-uni-bochum.de/pub/djgpp/patches/. Try using this to
see if it changes the program's behavior.
I'll test it on a plain DOS box tonight to see if there's any change.
Can you run other DJGPP programs without difficulty?
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| "Starting flamewars since 1993" | http://www.cs.com/fighteer/ |
| *** NOTICE *** This .signature | ICQ UIN#: 7406319 |
| is generated randomly. If you don't like it, sue my computer. |
---------------------------------------------------------------------
- Raw text -