help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Summarising compiler output?


From: Paul Smith
Subject: Re: Summarising compiler output?
Date: Sat, 07 Aug 2010 12:34:11 -0400

On Tue, 2010-08-03 at 10:35 +0200, Gary wrote:
> > Filtering done using a shell call should be faster than a parsing and
> > filtering done by make. (Please correct me if this does not apply!!)
> 
> Okay. I was wondering whether there was anything built into make that
> would allow me to do it.

No... and there cannot be.  GNU make simply invokes a shell and gives it
the command line you provided, then waits for the shell to exit.  The
shell sends its output to the terminal directly: GNU make does not try
to capture the output of the shell command and print it.  Thus, GNU make
cannot filter the output of the shell command.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]