delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/20/17:47:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <376D60F2.B6FCC51@solfin.com>
Date: Sun, 20 Jun 1999 23:45:22 +0200
From: Gabriel Galibourg <gabriel AT solfin DOT com>
Reply-To: gabriel AT solfin DOT com
Organization: Solfin Limited
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en,en-GB,en-US,fr,fr-BE,fr-CA,fr-CH
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
CC: Phil Edwards <pedwards AT jaj DOT com>
Subject: Re: build successful (was Re: winsup in EGCS?)
References: <199906201914 DOT PAA19878 AT jaj DOT com>


Phil Edwards wrote:
> 
> >   $ <srcdir>/configure --prefix=/Cygnus/cygwin-b20 \
> >     --exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 \
> >     -v i586-cygwin32
> >
> >   $ make bootstrap > make.log 2>&1
> 
> I've been trying to use "make blah | tee /something 2&>1" but the error
> messages don't get captured in the logfile.

You should use:

make blah 2>&1 | tee /something

When using a pipe you need to redirect fd 2 into fd 1 BEFORE you use the pipe, if redirecting into a file then you need to redirect AFTER the redirection of fd 1 (into the file) ... it may look bizarre at first glance but when you really look into it it really all makes sense.


> snap .....


Cheers,
Gabriel.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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