delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/16/00:34:18

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Redirection problem
Date: Fri, 15 Aug 1997 22:32:17 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 40
Message-ID: <33F4D8F1.508@cs.com>
References: <199708151650 DOT TAA19548 AT binomail DOT rousse DOT bg400 DOT bg>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

DSH wrote:
> 
> I'm using DJGPP from about a month.
> My problem is that I can't redirect the gcc messages output
> to a file or with '|' to more.
> I suppose gcc writes on stderr. Why?
> When there's a lot of errors or warnings I'm helpless.

As Margo said, use the 'redir' utility included with the standard DJGPP
distribution.  Example syntax:

  redir -o err.log -eo gcc -Wall -o myprog.exe myprog.c

This will redirect both stdout and stderr to the file 'err.log', which
you can then view.  To get paged output through 'more', use:

  redir -eo gcc -Wall -o myprog.exe myprog.c | more

Type 'redir' without arguments to see a complete list of its
functionality.

> Furthermore, I would like to join comp.os.msdos.djgpp news group
> but I don't know how to configure my news server.
> I work with "Internet News" that comes along with
> Microsoft Internet Explorer v3.2. I would like to know what's
> the name of server and wheter there should be any passwords or
> special logon procedures.

News servers are all over the world.  You should be able to subscribe to
comp.os.msdos.djgpp just like any other newsgroup; there are no special
passwords or routines involved.  Check with the administrators of your
Internet Service Provider to find out what news server they recommend.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       |"A competent and self-confident person|
|       aka Fighteer I       | is incapable of jealousy in anything.|
|   mailto:fighteer AT cs DOT com   | Jealousy is invariably a symptom of  |
| http://www.cs.com/fighteer | neurotic insecurity."  - Lazarus Long|
---------------------------------------------------------------------

- Raw text -


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