Mail Archives: djgpp/1996/12/12/12:02:18
camorgan AT amoco DOT com wrote:
>
> I have tried every way I know to redirect the compiler diagnostic
> messages to a file; e.g.,
>
> gcc test.c -o test.exe >test.lst,
> gcc test.c -o test.exe 2>test.lst,
> etc.,
>
> but all my redirection efforts seem to be ignored; the output still
> comes back to the screen.
>
DOS is not smart enough to perform this on DJGPP programs...
This is explained in section 6.10 of the FAQ (faq202b.zip from where you
got DJGPP). The simplest way is to use the REDIR program, which comes
with DJGPP (it is in DJDEV201).
Francois
- Raw text -