🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #1106

Re: Redireting g++ console output?

#1106
From: Jack Kelly Dobson
Date: Mon, 31 Jan 2000 00:00
19 lines
1332 bytes
Jack Kelly Dobson wrote:
> 
> Hello,
> 
> Can anyone tell me how to redirect the console output of g++ to a
> file?
> 
> Tried: g++ file.cpp > file.out
> 
> This, I assume, is attempting to redirect the binary output to a
> file. I want to capture the compile/error messages to a file.
> 
> thx j-

Never mind, I figured it out.

g++ file.cpp 2> file.out

thx j-
Technical Details
Message-ID: <3895DF00.1BFC6CF8@binc.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3895C9FB.91BF13B5@binc.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,452cb84fa50a88f3
X-Google-Attributes: gid11318c,public
X-Google-Thread: 100c5f,452cb84fa50a88f3
X-Google-Attributes: gid100c5f,public
X-Google-Thread: faa64,452cb84fa50a88f3
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 10a73c,452cb84fa50a88f3
X-Google-Attributes: gid10a73c,public
X-Google-Thread: f65d0,452cb84fa50a88f3
X-Google-Attributes: gidf65d0,public
From: Jack Kelly Dobson <jdobson@binc.net>
Subject: Re: Redireting g++ console output?
Date: 2000/01/31
Message-ID: <3895DF00.1BFC6CF8@binc.net>
X-Deja-AN: 579980925
Content-Transfer-Encoding: 7bit
References: <3895C9FB.91BF13B5@binc.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsabuse@supernews.com
Organization: Posted via Supernews, http://www.supernews.com
MIME-Version: 1.0
Newsgroups: alt.linux,gnu.gcc,gnu.gcc.help,linux.dev.gcc,alt.os.linux