Xref: news2.mv.net comp.os.msdos.djgpp:2942 Newsgroups: comp.os.msdos.djgpp From: mdruiter AT cs DOT vu DOT nl (Ruiter de M) Subject: Re: gcc messages > file Nntp-Posting-Host: galei.cs.vu.nl References: <317258AF DOT 61C1 AT Mathematik DOT tu-chemnitz DOT de> <4lclse$d2c AT yama DOT mcc DOT ac DOT uk> Sender: news AT cs DOT vu DOT nl Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Date: Mon, 22 Apr 1996 11:39:18 GMT Message-ID: Lines: 33 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp TPJ Mc Guigan (tpj AT sn2 DOT ee DOT umist DOT ac DOT uk) wrote: : In article <317258AF DOT 61C1 AT Mathematik DOT tu-chemnitz DOT de>, : Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de says... : > : >Lennart Steinke wrote: : >> : >> Hi! : >> : >> How can a pipe the gcc messages into a file? : >> gcc file.c > err.msg doesn't work. : >> : >> Lenny : >> : >> -- : >> Lennart Steinke (steinke AT adv-boeblingen DOT de) : >use the redir command: : > : >redir -e err.msg gcc file.c : > : : Hmmm, what about redirecting stderr via "gcc file.c >& err.msg"? Don't know : if this type of arrangement is what you want. Just in case it is --- : : > redirects stdout : >& redirects stderr and stdout : >&> redirects stderr You are using 4DOS, aren't you? This will NOT work under plain DOS. -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter \----/====\----/ \ / \ / "You know, Beavis, you need things that suck, to have \/ \/ things that are cool.", Butthead.