delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/28/17:36:49

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: redirecting errors?
Date: 28 May 1997 19:44:47 GMT
Organization: Oxford University, England
Lines: 21
Message-ID: <5mi1vf$l0v@news.ox.ac.uk>
References: <01bc6b75$63cc2480$c5fa41ce AT drkwatr>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

DrkWatr (pawn AT dialnet DOT net) wrote:

: Is there anyway to redirect the errors during compile time to a file?

You haven't read the documentation. You need to use the REDIR.EXE utility,
which should already be in your bin directory. Use the info system for
detailed help; in brief you can write:

redir -o output.txt -eo <command_name>

where <command_name> is probably something like: gcc -o myprog.exe myprog.c

I think this is mentioned in perhaps more detail in readme.1st, which you
should read in its entirity, and is almost certainly mentioned in the FAQ,
where you should look for answers to simple questions. These are both in
the v2 directory wherever you got DJGPP from, with the filenames
`readme.1st' and `faq210b.zip'.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


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