Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: error file.. Date: Fri, 19 Jun 1998 09:12:23 +0100 Organization: Mobius Codeworks Ltd. Lines: 27 Message-ID: <358A1D67.2198500D@micronetics.com> References: <3589d5d3.3140602@news.playstation.co.uk> NNTP-Posting-Host: 193.132.195.160 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (WinNT; I) gcc directs all errors to stderr. Use >& to redirect stderr to stdout. gcc main.c > error.lst 2>&1 Cheers Jim Yannick Suter wrote: > > hello.. > > why is it not possible to divert the errors (reported by gcc) to a > file with > > gcc main.c >error.lst > > .. I really don't know, why this is not possible here! normaly it > works fine. does gcc have a command-line option to do this? > > thnx.. Yan > asC . nowadayS . www.netlink.ch/nowadayS > Yan . Net!Yaroze . www.netyaroze-europe.com/~yannick/