www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/25/00:37:40

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2809
Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!chi-news.cic.net!uwm.edu!lll-winken.llnl.gov!ames!waikato!celebrian.otago.ac.nz!ou098001.otago.ac.nz!user
From: a AT atlas DOT otago DOT ac DOT nz (Squash)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Redirecting error messages into a file
Date: Wed, 25 Oct 1995 14:53:29 +0100
Organization: University of Otago, Dunedin, NZ
Lines: 19
References: <Pine DOT SGI DOT 3 DOT 91 DOT 951018130224 DOT 13222A-100000 AT tower DOT york DOT ac DOT uk> <46gnhl$205 AT wmwap1 DOT math DOT Uni-Wuppertal DOT DE> <DGy2uD DOT G06 DOT 0 DOT -s AT cs DOT vu DOT nl>
Nntp-Posting-Host: ou098001.otago.ac.nz
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

In article <DGy2uD DOT G06 DOT 0 DOT -s AT cs DOT vu DOT nl>, rjvdboon AT cs DOT vu DOT nl (Boon van der RJ)
wrote:

[snip]
> 
> : set GO32=[your options] 2r1
> 
> : Now all output to stderr is redirected to stdout, which in turn CAN be
> : redirected to a file as usual (e.g. gcc file.c [options] >output).
> : Hope that helped,
> 
> Or you can use 4dos an execute: 'gcc test.c >&>errors

Alternatively, if you have the Norton Utilities, NDOS will let you
redirect stderr.  In short, get a real OS ;-))

Regards

Richard

- Raw text -


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