Mail Archives: djgpp/1994/06/28/05:14:34
On Fri, 24 Jun 1994, Peter Waszkewitz wrote:
> Is there any possibility of redirecting gcc's messages to a file. I tried
> the standard method:
> gcc [whatever there is to do] > filename
> but it didn't work.
Gcc writes all its messages to standard error which cannot be
redirected under Command.com.
Under 4dos you can type:
gcc [whatever there is to do] >& filename
which redirects both standard output and standard error.
You can find 4dos from any SimTel mirror (for example:
ftp.funet.fi:/pub/msdos/SimTel/4dos/4dos50a.zip and 4dos50b.zip).
It is fully compatible with Command.com.
--
Janne Kukonlehto
jtklehto AT phoenix DOT oulu DOT fi http://phoenix.oulu.fi/~jtklehto/index.html
jtklehto AT stekt DOT oulu DOT fi http://stekt.oulu.fi/~jtklehto/index.html
- Raw text -