Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: Redirect gcc >file Date: Tue, 22 Apr 1997 23:20:23 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 33 Message-ID: <335D39A7.10A8@micronetics.com> References: <335BF646.AD6@compuserve.com> <335AF994.28F6@micronetics.com> <335E50E6.221@compuserve.com> NNTP-Posting-Host: jim.micronetics.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.0b2 (Win95; I) X-Priority: 3 (Normal) Ken Lam wrote: > > Thats because errors get written to stderr. > > Try gcc >& gcc.err > > Thanks for the tip but it doesn't seem to work: if I use > > gcc loadsave.c >& gcc.err humm, works for me. I was redirecting stderr from make but that shouldn't make a difference. >& just redirects stderr > redirects stdout. Are using the standard command shell? Ahh...... Im using ndos. Maybe thats why it works for me. Try 4dos or an alternative. Regards Jim > > I get > gcc.exe: gcc.err: file not found > > and a file of zero size called `&' gets created. > > L