www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/20/01:20:15

Date: Wed, 20 Dec 1995 08:07:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "D.M. Derrick" <dmd1 AT le DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Make error

On 17 Dec 1995, D.M. Derrick wrote:

> I'm trying to compile a program and I think something in the makefile is
> causing an error. I can't tell what the error is because make prints its help
> message which scrolls off the top of the screen. 'make |more' doesn't work. Is
> there a way to:
> a) Stop make displaying the help message
> b) Redirect the output from make.

Get the file faq102.zip and read section 6.13 in the DJGPP FAQ list.  It
describes a few options to redirect standard error stream to a file.  
(Make prints its error messages to stderr, rather than to stdout, and 
command.com cannot redirect stderr.  That's why you can't pipe the output 
to `more'.  The FAQ tells you how to do it.)

- Raw text -


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