www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/12/21:59:41

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2007
Newsgroups: comp.os.msdos.djgpp
Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!news.cais.net!newsfeed.internetmci.com!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!lerc.nasa.gov!purdue!oitnews.harvard.edu!cfanews!cfa0!peprbv
From: peprbv AT cfa0 DOT harvard DOT edu ( Bob Reasenberg)
Subject: Re: Redirectiong stderr to a file in DJGPP 2.0 beta 1
Sender: news AT cfanews DOT harvard DOT edu
Reply-To: rbabcock AT cfa DOT harvard DOT edu
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA, USA
References: <434pke$4c0 AT vivaldi DOT telepac DOT pt>
Date: Tue, 12 Sep 1995 21:07:06 GMT
Lines: 13
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Pedro Semeano (bmagic AT telepac DOT pt) wrote:
: So if i try to do:

: 	gcc tvesa.cpp -o tvesa > test

: the system creates a file named test with 0 bytes.... Thats the way
: multiedit gets the errors. He redirects the output for a file and then
: process that file.

Gcc (version 1 or 2) sends the error messages to stderr and you can't
redirect stderr from the command line.  The FAQ (faq102.zip) lists several
ways of working around the problem.  The simplest is to run a utility which
redirects stderr to stdout.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019