🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #1107

Re: Redireting g++ console output?

#1107
From: Joe Durusau
Date: Mon, 31 Jan 2000 00:00
22 lines
1389 bytes
    g++ is (probably) sending those messages to stderr, not stdout.
Check your shell
for instructions on re-directing stderr (file descriptor 2).

Speaking only for myself,

Joe Durusau


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-
Technical Details
Message-ID: <3895D4C7.F849D144@delphi.com>
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: faa64,452cb84fa50a88f3
X-Google-Attributes: gidfaa64,public
X-Google-Thread: f65d0,452cb84fa50a88f3
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 100c5f,452cb84fa50a88f3
X-Google-Attributes: gid100c5f,public
X-Google-Thread: 10a73c,452cb84fa50a88f3
X-Google-Attributes: gid10a73c,public
From: Joe Durusau <durusau@delphi.com>
Subject: Re: Redireting g++ console output?
Date: 2000/01/31
Message-ID: <3895D4C7.F849D144@delphi.com>
X-Deja-AN: 579988227
Content-Transfer-Encoding: 7bit
References: <3895C9FB.91BF13B5@binc.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Lockheed Martin Corporation
Mime-Version: 1.0
Newsgroups: alt.linux,gnu.gcc,gnu.gcc.help,linux.dev.gcc,alt.os.linux