From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9565 invoked by alias); 3 Nov 2003 16:40:58 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 9557 invoked from network); 3 Nov 2003 16:40:57 -0000 Received: from unknown (HELO garm.central.cmich.local) (141.209.15.48) by sources.redhat.com with SMTP; 3 Nov 2003 16:40:57 -0000 Received: from leon.phy.cmich.edu ([141.209.165.20]) by egate1.central.cmich.local with Microsoft SMTPSVC(5.0.2195.6713); Mon, 3 Nov 2003 11:40:53 -0500 Received: from localhost (unknown [127.0.0.1]) by leon.phy.cmich.edu (Postfix) with ESMTP id BCAD370017; Mon, 3 Nov 2003 11:40:42 -0500 (EST) Date: Mon, 03 Nov 2003 16:57:00 -0000 From: Eric McDonald To: "Brandon J. Van Every" Cc: xconq Subject: RE: Canonical Windows build environment? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 03 Nov 2003 16:40:53.0718 (UTC) FILETIME=[3F60E760:01C3A229] X-SW-Source: 2003/txt/msg00562.txt.bz2 On Mon, 3 Nov 2003, Brandon J. Van Every wrote: > I have forgotten how to pump both stdout and stderr to the same file. > How do I do that? I cobbled "make >out.txt" and "make 2>err.txt" > together to get the following, it's tedious. It depends on which shell you are using. Since you are doing things from Cygwin, I am assuming you are using bash, which is the default shell in that environment. In this case, you should do: >out.txt 2>&1 which tells the shell to redirect stdout to a file, and then do an appending redirect of stderr to the redirected stdout. If you do things in the reverse order, you will not obtain the desired results. For an understanding of why this is, read dup(2), dup2(2), and bash(1). > make[1]: Entering directory `/cygdrive/c/devel/xconq/tcltk' > gcc -c -g -O2 -mwin32 -I. -I./.. -I./../kernel -I/nonexistent/include > tkmain.c I am curious where "-I/nonexistent/include" is coming from. This seems like an odd place. Did you install the Tcl/Tk headers to there? Eric