[fpc-devel] Output flush on pipes

Micha Nelissen micha at neli.hopto.org
Sun May 14 08:54:06 CEST 2006


On Sun, 14 May 2006 08:48:07 +0200 (CEST)
Daniƫl Mantione <daniel.mantione at freepascal.org> wrote:

> About flushing the output, I think it is impossible to receive the output 
> interactively currently, it will output in bursts. You should still be 
> able to receive the output, though. If you want to receive it 
> interactively, I think we can modify the compiler to flush after each 
> message. But again, I do not recommend this approach.

Unix (GNU?) tools usually have a --line-buffered option, that will set
output buffering to flush-per-line, or even unbuffered. Such an option
could be a good idea for the compiler as well, but: Martin, is time between
first message and compiler termination so long that it needs flushing ?

Micha



More information about the fpc-devel mailing list