delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/15/00:58:29

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2047
Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!news.cais.net!news.sfo.com!news.zeitgeist.net!bdt.com!miwok!newsfeed.internetmci.com!tank.news.pipex.net!pipex!in1.uu.net!comp.vuw.ac.nz!mu.sans.vuw.ac.nz!empty
From: empty AT sans DOT vuw DOT ac DOT nz (Malcolm Taylor)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Redirectiong stderr to a file in DJGPP 2.0 beta 1
Date: 14 Sep 1995 22:25:35 GMT
Organization: SANS, Student Access Network System
Lines: 18
References: <434pke$4c0 AT vivaldi DOT telepac DOT pt>
Nntp-Posting-Host: mu.sans.vuw.ac.nz
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:
: 	I want to start working in djgpp 2.0. So i try to use multiedit (Don't
: tell me that editor xxx is better. I like multiedit and will use it,
: if i can), but when i compile i can't get multiedit to get the errors
: messages. I trave the problem to Gcc, because he can't do a simple
: rediretion. So if i try to do:

: 	gcc tvesa.cpp -o tvesa > test

All the errors are printed to stderr not stdout. the '>' redirection only 
redirects stdout. I know of no way under MS-DOS to redirect stderr, but 
having said that get hold of 4DOS (from SimTel) which so I hear can 
redirect stderr. I use NDOS which uses'>&>' to redirect stderr only.

Malcolm



- Raw text -


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